The Emergency
CodeChefOpen on judge ↗
Utkarsh is also giving Drink and Code! However there is a problem, he is currently second in leaderboard, the AC temperature is very low and he already drank 9 glasses of soft-drinks. He needs to go to the washroom! But if he solves one more, he will be first! He decided to fight with it and solve the problem. The problem involves a binary string (the string contains only 1’s and 0’s) and Utkarsh
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