Shinchan and Toggling Candles
CodeChefOpen on judge ↗
A little girl sweety with her boy friend shinchan Decided to take part in Code-rush coding contest in their collage TechFest Infotsav15.Shinchan asked her to help him out to solve the a programming task in the coding contest so they can celebrate the prize money. There are 10^18 candles numbed from 1 , 2, 3….up to 10^18(1000000000000000000).and perform the Following simple algorithm: for i = 1
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