Accepted solution in Python with 0.02 total execution time.
`
from sys import stdin, stdout
def winner():
# read number of rounds
tot_rounds = int(stdin.readline())
lead_p1 = 0
lead_p2 = 0
ts_p1 = 0
ts_p2 = 0
for r in range(1, tot_rounds + 1):
line = stdin.readline()
sp1, sp2 = [int(x) for x in line.split()]
Read more… (95 words)