파이썬2187 [백준/파이썬] 1302번 베스트셀러 -Coden = int(input())books = {}for _ in range(n): book = input() if book not in books: books[book] = 1 else: books[book] += 1max_cnt = max(books.values())res_books = []for k, v in books.items(): if v == max_cnt: res_books.append(k)print(sorted(res_books)[0]) 2025. 1. 4. [백준/파이썬] 32571번 Leg Day -Coden = int(input())exercise = [input() for _ in range(n)]week = []for el in exercise: if "rest" in el: week.append("😎") elif "leg" in el: week.append("🦵") else: week.append("💪")day, idx = 0, 0res = []while day 2025. 1. 3. [백준/파이썬] 21167번 Curve Speed -Codefrom math import sqrtwhile True: try: r, s = input().split() r, s = int(r), float("0" + s) res = sqrt(r * (s + 0.16) / 0.067) print(round(res)) except EOFError: break 2025. 1. 2. [백준/파이썬] 24871번 Календарь на Альфе Центавра -Coded, m, w = map(int, input().split())i, j, k = map(int, input().split())total = (k - 1) * m * d + (j - 1) * d + i - 1print(chr(97 + total % w)) 2025. 1. 1. [백준/파이썬] 32978번 아 맞다 마늘 -Coden = int(input())total = list(input().split())use = list(input().split())for el in total: if el not in use: print(el) break 2024. 12. 31. [백준/파이썬] 8719번 Piłeczka -Codefrom sys import stdinfor _ in range(int(stdin.readline())): x, w = map(int, stdin.readline().split()) res = 0 while x 2024. 12. 30. 이전 1 ··· 4 5 6 7 8 9 10 ··· 365 다음