← All problemsSign in

The Cultural Fest

A Cultural Fest of is going to be conducted by JDG colony. On each day during the fest there will either be a contest or a stage performance. The success of a contest will be determined by the number of stage performances before it and the success of the stage performance will be determined by the number of contests after it. The total success of the contest is the sum of successes of all the ev

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