← All problemsSign in

Sandesh Stops Programming

Sandesh Ghanta has left competitive programming but now he is participating in the coding event v-code at the Multi fest Vidyut. Since he left programming, he has lost his touch and now he is stuck at a problem which he finds very difficult. So he asks you to help him. xD You are given details of a programming contest in which N teams are participating and you know how many problems each team sol

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