← All problemsSign in

Video-XOR

Chef has a YouTube channel named “Kill the code”. He posted $N$ videos on that channel, he got $A[i]$ views in $i$th video. For some reason Chef wants that the $XOR$ of all the views count to be 65. Now Chef is planning to release a new video i.e. his $(N+1)$th video on that channel. He wants you to calculate the total no. of views required on this video that will make the $XOR$ of no. of vi

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