1
2
3
4
5
6
7
8
9
10
11
12
|
score=list(map(int,input().split()))
if score[0]>100: print('hacker'); exit()
if score[1]>100: print('hacker'); exit()
if score[2]>200: print('hacker'); exit()
if score[3]>200: print('hacker'); exit()
if score[4]>300: print('hacker'); exit()
if score[5]>300: print('hacker'); exit()
if score[6]>400: print('hacker'); exit()
if score[7]>400: print('hacker'); exit()
if score[8]>500: print('hacker'); exit()
if sum(score)>=100:print('draw')
else: print('none')
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 21567 숫자의 개수 2 (0) | 2021.11.30 |
---|---|
백준 16483 접시 안의 원 (0) | 2021.11.30 |
백준 22864 피로도 (0) | 2021.11.30 |
백준 22938 백발백준하는 명사수 (0) | 2021.11.30 |
백준 23037 5의 수난 (0) | 2021.11.29 |
댓글