전체 글186 백준 - 2751 수 정렬하기 2 import sys input = sys.stdin.readline n = int(input()) num = [] for i in range(n): a = int(input()) num.append(a) num.sort() for i in num: print(i) 2022. 10. 7. 백준 - 1978 소수 찾기 # 내가 푼 풀이(찔림) prime = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419,.. 2022. 10. 6. 백준 10768 - 특별한 날 month = int(input()) day = int(input()) if month 18: print("After") else: print("Before") else: print("After") 2022. 10. 5. 백준 - 2083 럭비 클럽 while True: s = list(input().split()) if int(s[1]) > 17 or int(s[2]) >= 80: print(s[0], "Senior") elif s[0] == "#" and s[1] == '0' and s[2] == '0': break else: print(s[0], "Junior") 2022. 10. 4. 이전 1 ··· 5 6 7 8 9 10 11 ··· 47 다음