Geek Sundaram and his Universal fans
CodeChefOpen on judge ↗
Problem description Geek Sundaram's ever expanding Geekdom attracts fans from remote corners of the universe (even Aliens :P). On Geek's birthday, his fans assembled in front of his house to take selfies. Since the crowd was humongous, he was not able to control the mob. He quickly came up with a way to solve this problem. He arranged them in a room of M rows and N columns and assigned them val
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