[READ-ONLY] Mirror of https://github.com/shuuji3/competitive-programming. 馃洬 Codes submitted to competitive programming platforms
aizu-online-jadge aoj atcoder hackerrank leetcode
0

Configure Feed

Select the types of activity you want to include in your feed.

1taro_point = 0 2hanako_point = 0 3 4n = int(input()) 5for i in range(n): 6 taro, hanako = input().split() 7 if taro == hanako: 8 taro_point += 1 9 hanako_point += 1 10 elif taro > hanako: 11 taro_point += 3 12 else: 13 hanako_point += 3 14print(taro_point, hanako_point)