본문 바로가기
python-algorithm

[백준] 17826

by 무적김두칠 2021. 1. 19.

1
2
3
4
5
6
7
8
9
10
tmp= (list(map(int, input().split())))
ans=tmp.index(int(input()))+1
if ans<6print("A+")
elif ans<16 : print("A0")
elif ans<31 : print("B+")
elif ans<36 : print("B0")
elif ans<46 : print("C+")
elif ans<49 : print("C0")
elseprint("F")
 
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 17950  (0) 2021.01.19
[백준] 17838  (0) 2021.01.19
[백준] 17608  (0) 2021.01.19
[백준] 17502  (0) 2021.01.19
[백준] 17389  (0) 2021.01.18

댓글