백준2363 [백준/파이썬] 11520번 And Then There Was 5 -Code for _ in range(int(input())): p, d = map(int, input().split()) print(d, 5) 2024. 2. 21. [백준/파이썬] 31428번 엘리스 트랙 매칭 -Code n = int(input()) track_list = list(input().split()) pick_track = input() print(track_list.count(pick_track)) 2024. 2. 20. [백준/파이썬] 28940번 Дневник Гравити Фолз -Code import math w, h = map(int, input().split()) n, a, b = map(int, input().split()) if w < a or h < b: print(-1) else: letter = (w // a) * (h // b) print(math.ceil(n / letter)) 2024. 2. 19. [백준/파이썬] 31429번 SUAPC 2023 Summer -Code solved = [12, 11, 11, 10, 9, 9, 9, 8, 7, 6, 6] penalty = [1600, 894, 1327, 1311, 1004, 1178, 1357, 837, 1055, 556, 773] n = int(input()) - 1 print(solved[n], penalty[n]) 2024. 2. 19. [백준/파이썬] 28960번 Плащ левитации -Code h, l, a, b = map(int, input().split()) if (h >= a / 2 and l >= b) or (h >= b / 2 and l >= a): print("YES") else: print("NO") 2024. 2. 18. [백준/파이썬] 25893번 Majestic 10 -Code arr = ["zilch", "double", "double-double", "triple-double"] for _ in range(int(input())): nums = list(map(int, input().split())) res = 0 for n in nums: if n >= 10: res += 1 print(*nums) print(arr[res]) print() 2024. 2. 17. 이전 1 ··· 59 60 61 62 63 64 65 ··· 394 다음