Gopal and his principles
CodeChefOpen on judge ↗
Gopal was assigned the job of writing the names of the people at the registration desk in a Conference. He is a very big fan of pigeonhole principle. So he doubts that out of these many people atleast two people will have the same name. He wants to find out that name. He is sure that there is only one such name. Input First line of the input contains T - number of test cases. First line of
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