Strip of Numbers
CodeChefOpen on judge ↗
Trijeet got a strip of paper from Soham with $N$ numbers on it. As the strip was too long, Trijeet decided to fold it into half(maybe uneven). If the position of numbers coincide, their sum was written on the strip. If the strip had, 78 12 98 49. After one fold it could be, - 90 98 49 (position 1 and 2 are merged) - 12 176 49 (1 and 3) - 127 110 (1 and 4) He still did not have e
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