Tennis Score
CodeChefOpen on judge ↗
Phillip and Thomas got into an argument over who is the better tennis player. After realizing that they could debate for hours without actually proving anything, they grabbed their rackets and ran out to the courts. When they came back, they admitted that they lost track of who actually won. They did, however, record who scored each point. When Phillip scored a point, they wrote down an "A." When
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