https://www.acmicpc.net/problem/26489
1
2
3
4
5
6
7
8
9
|
if __name__ == '__main__':
cnt = 0
while 1:
try:
s = input()
cnt += 1
except:
print(cnt)
break
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 6840 Who is in the middle? (0) | 2022.12.17 |
---|---|
백준 5341 Pyramids (0) | 2022.12.17 |
백준 26057 Большой удой (1) | 2022.12.13 |
백준 11008 복붙의 달인 (0) | 2022.12.13 |
백준 16360 Go Latin (0) | 2022.12.13 |
댓글