Time Balance
CodeChefOpen on judge ↗
Chef is fond of coding and gaming and wants to spend his free time on these two activities. He wants to find how much total time he will spend doing these two activities over _n_ days. The days start from 1 and go on to _n_. On the odd days, Chef will practice coding for __25__ minutes and on the even days he will play game for __45__ minutes. If the free time on a given day is less than the t
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