Tony and Space
CodeChefOpen on judge ↗
Tony stark is stuck in the space with limited amount of food. So, he made figure of number of food packets and calories each packet contains. Now, he found that a space ship moving towards them it will take 3 days (72 hours) to reach them. So, now he decided to divide them into three equal parts based on calories. Now find that can he be able to divide food into three equal parts based on the cal
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