Count Relations
Let A be a set of the first N positive integers :A={1,2,3,4.........N} Let B be the set containing all the subsets of A. Let A be a set of the first N positive integers :A={1,2,3,4.........N} Let B be the set containing all the subsets of A. Professor Eric is a mathematician who defined two kind of relations R1 and R2 on set B. The relations are defined as follows: R1={ (x,y) : x and y belong t
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start