본문 바로가기
python-algorithm

codeforces 1669A - Division?

by 무적김두칠 2022. 5. 24.

1
2
3
4
5
6
7
8
9
10
11
12
13
def sol(n):
    if n >= 1900 :
        print("Division 1")
    elif n >= 1600 :
        print('Division 2')
    elif n >= 1400:
        print('Division 3')
    else :
        print('Division 4')
 
n=int(input())
for _ in range(n):
    sol(int(input()))
cs
반응형

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

백준 24568 Cupcake Party  (0) 2022.05.24
백준 24736 Football Scoring  (0) 2022.05.24
백준 10995 별 찍기 - 20  (0) 2022.05.16
codeforces 1619A - Square String?  (0) 2022.05.12
codeforces 1294A - Collecting Coins  (0) 2022.05.12

댓글