파이썬2180 [백준/파이썬] 33179번 Hezardastan’s Annual Report -Coden = int(input())pages = list(map(int, input().split()))res = 0for el in pages: res += (el + 1) // 2print(res) 2025. 1. 31. [백준/파이썬] 33166번 鉄道旅行 3 (Railway Trip 3) -Codep, q = map(int, input().split())a, b = map(int, input().split())if q >= p: print(p * a + (q - p) * b)else: print(q * a) 2025. 1. 30. [백준/파이썬] 33163번 OIJ (OIJ) -Coden = int(input())s = list(input())for i in range(n): if s[i] == "J": s[i] = "O" elif s[i] == "O": s[i] = "I" else: s[i] = "J"print(*s, sep="") 2025. 1. 29. [백준/파이썬] 33162번 散歩 (Walking) -Coderes = 0for i in range(int(input())): if i % 2 == 0: res += 3 else: res -= 2print(res) 2025. 1. 28. [백준/파이썬] 33178번 Micromasters -Codeprint(int(input()) // 10) 2025. 1. 27. [백준/파이썬] 33170번 ブラックジャック (Blackjack) -Codeprint(1 if int(input()) + int(input()) + int(input()) 2025. 1. 26. 이전 1 2 3 4 ··· 364 다음