← All problemsSign in

Plus Minus Game

Patrica is very excited for the Republic day and she wants to go to her school for hosting flag. But her school put a condition for everyone who wants to come to school – The person should be vaccinated. As patrica is poor to afford the vaccine, her friend decided to give her money. For that patrica agreed to help her solve a problem. Given a string of length $N$ consisting of only $‘+’$ and $

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