7 ate 9!
CodeChefOpen on judge ↗
7 came back home, from College, very very hungry! Chef was really caught up, with loads of Party orders and hence couldn't satiate 7's hunger. 7 was so famished, that when it saw "scrumptious 9", prepared by Chef, specially for the party, it couldn't control itself and gobbled it up! Now, Chef is extremely furious and has decided to not allow 7 into his kitchen. 7 is however clubbing up with other
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