← All problemsSign in

(E) Umang with XOR Friends

Due to the worldwide pandemic exams are planned to be organized online. This thing was a life savior for many students as they haven't studied anything so far. Umang is one of such students. Now Umang starts to make a strategy as the exams are approaching. In this process he first asked the examination incharge to give a list of all the students in his slot of online exam, and the exam incharg

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start