← All problemsSign in

Arcadeya Bae

You take N number of students to an arcade to have them play games. The arcade has M gaming consoles available. Let the time you reach the arcade be denoted by 0 and it progresses by 1 with every passing second. Your students can be described by a set of three integers "t x y" which denotes that this student wants to play any game for t seconds between the interval [x,y]. Being the programmer th

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