← All problemsSign in

Lord Ram and XorOrXorOr Power

Lord Ram has a special power, named $XorOrXorOr$ Power. The magnitude of this power, is dependent on five factors (integers), $a$, $b$, $c$, $d$, and $e$. The power's magnitude is defined as follows: ( ( ( ( $a$ v $b$ ) | $c$ ) v $d$ ) | $e$ ), where v is the $Bitwise-XOR$ operator, and | is the $Bitwise-OR$ operator. Lord Ram, gave a task to his greatest devotee, Lord Hanuman, to find the minimum

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