RESCUE ITACHI FROM EXPULSION
CodeChefOpen on judge ↗
Problem Statement Itachi goes to college after the summer vacation is over with all excitment but to his horror he finds out that all his N−1 friends have turned into tormentor. So he started disliking his friends too . The professor Shisui wants to distribute M marks to his N students (including Itachi). As Professor Shisui is occupied with work, he makes a plan so that all students can
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