← All problemsSign in

A Mayhem for Hisoka

Hisoka is an avid gamer and he loves to play the very popular game "Among us". Amiham being his good friend informs Hisoka about the among us tournaments that are going to be held during the next $K$ days and sends him a list for the same. There are $N$ tournaments. Each tournament is held once on each of these $K$ days, at the same time interval every time. For example, $'$tournament-1$'$ may b

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