Geek Sundaram and his Paranoia
CodeChefOpen on judge ↗
Problem description Geek Sundaram has no time for washing clothes as he is too caught up in being geeky. He also jogs every morning to keep in shape, much to the delight of his fans. In order to maintain a good physique, while at the same time, avoid washing clothes Geek has a huge collection of socks. His collection consists of N socks. Each sock has a positive number sewn on it. It is well-kno
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