A問題 September 9
1 2 3 4 5 |
N = input() if '9' in N: print('Yes') else: print('No') |
B問題 Theater
1 2 3 4 5 6 7 |
n = int(input()) count = 0 for i in range(n): l,r = map(int, input().split()) count += r-l+1 print(count) |
コメント