← All problemsSign in

The Bunked Paradox

Prayatna, the department of CT's symposium is in 3 days and preparations are underway. The volunteers have bunked lots of classes to make sure every aspect of P'19 is perfect. You're given $N$ days , where each day contains the number of classes attended by the volunteers. A positive value means they went to A[i] classes that day, while a negative value denotes they bunked A[i] classes that da

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