An Interesting Person
CodeChefOpen on judge ↗
Professor Vishal gave a question to his students , the first one to solve will be rewarded. However the question wasn’t usual and tricky. Professor said “ I have ‘N’ no. of authors(1,2……,N) and each of i th author has a i th no. of books. The task is to find an Integer ‘Z’ such that the value max 1≤i≤n (a i ⊕Z) is minimum possible. Everyone is working hard to find the solution, but Bablu is a we
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