Chef and Penalty
CodeChefOpen on judge ↗
Chef loves to watch Hockey.So he decides to go to a stadium in his hometown to watch a game between arch rivals India and Pakistan. The game ends in a draw and therefore, to decide the winner a penalty shootout takes place. In a penalty shootout the attacker gets a chance to run with the ball in a one-on-one situation against the goalkeeper. The attacker starts on the 23-metre line with the ball
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