728x90 반응형 SMALL 백준문제105 백준) 30087번 - python N,lst = int(input()),[] seminal_dic = { "Algorithm": 204, "DataAnalysis": 207, "ArtificialIntelligence": 302, "CyberSecurity": "B101", "Network": 303, "Startup": 501, "TestStrategy": 105 } for i in range(N): seminal = input() if seminal in seminal_dic.keys(): lst.append(seminal_dic[seminal]) print(lst[i]) 2024. 3. 10. 백준) 30030번 - python B = int(input()) print(int(round(B / 1.1 , -1))) 2024. 3. 9. 백준) 30007번 - python n = int(input()) A,B,X = 0,0,0 for i in range(n): A,B,X = map(int, input().split()) print(A * (X - 1) + B) 2024. 3. 8. 백준) 29863번 - python sleep = int(input()) wake = int(input()) if sleep > wake: print(24 - sleep + wake) else: print(wake - sleep) 2024. 3. 7. 이전 1 ··· 13 14 15 16 17 18 19 ··· 27 다음 728x90 반응형 LIST