A - Happy Students
CodeChefOpen on judge ↗
In a far away Galaxy of Tilky Tay, there is an online course platform named Toursera. During a semester, it offers $N$ number of different courses. There are $S$ students, who may want to enrol to these courses. A student can enrol for at most one course in a semester. For course allocation, a TCTS policy is used, which scientists believe is same as "First Come First Serve" policy in o
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