Lets Party !
CodeChefOpen on judge ↗
Mr. Rohit has recently been promoted as the Vice President of the company he works, to celebrate the occasion he decided to call his friends to the party at his place. His friends are a bit choosy in selecting tables. There are N tables at the party numbered from 1 to N. They will be glad if they are allowed to sit on their chosen table. It is also very much possible that more than one table can m
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