Phoenix and Video Games
CodeChefOpen on judge ↗
A very awaited game was launched and Phoenix bought it. He soon completed it and was at the Final Boss Army. If he could predict the number of points that he will get in the final level, he will win the Golden Lottery and get his chance to earn a million dollars. And so, he begins the final level but as soon as he reads the rules, he gets baffled because he isn’t able to predict the points and now
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