Avalai Marakathan
CodeChefOpen on judge ↗
Adhitha Karikalan wanted to get a message to the Chozha King, but was afraid of people intercepting the message. He decided to give a task that only the Chozha King could figure out. The Chozha King however is bedridden. So you, his most trusted adviser, have to solve the problem so that the message is safely delivered to the King. You are given two integers, $L, R$, denoting the range of integer
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