A問題 Large Digits
1 2 3 4 5 6 7 8 |
a,b = input().split() A = int(a[0])+int(a[1])+int(a[2]) B = int(b[0])+int(b[1])+int(b[2]) if A>=B: print(A) else: print(B) |
1 2 3 4 5 6 7 8 |
a,b = input().split() A = int(a[0])+int(a[1])+int(a[2]) B = int(b[0])+int(b[1])+int(b[2]) if A>=B: print(A) else: print(B) |
コメント