← All problemsSign in

Fluffy and Scoreboard

Fluffy was the judge of another programming contest. This time, there are n participants and k problems. Each contestant makes exactly one submission for every problem. Each participant has his own ID, which is numbered from 1 to n. Initially the ranklist consists of the n participants, and the scores of each participant are 0. The contestant with the highest score will be placed on top of the ran

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start