Martin and the nuclear reactor
CodeChefOpen on judge ↗
Martin was given an assignment at a chemical nuclear reactor to count the amount of chemical in the reactor. Initially the amount of chemical in the reactor was 0. On day one , the amount became 1 and subsequently keeps on doubling everyday. Martin will count the amount of chemicals only when he was active. Given the amount calculated by Martin, your task is to count the number of days Martin wa
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