← All problemsSign in

C - PCPS

In a far away Galaxy of Pilky Pay, there is an online course platform named Poursera. During a semester, it can offer an unlimited number of different courses. There are students who want to enrol to at least one of the course offered by Poursera. A student can enrol for more than one course. For course allocation, a PCPS policy is used, which scientist believe is different than any known poli

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