728x90 반응형 SMALL 전체 글380 백준) 31090번 - python for i in range(int(input())): case = int(input()) print("Good" if (case + 1) % (case % 100) == 0 else "Bye") 2024. 5. 7. 백준) 30868번 - python for i in range(int(input())): a = int(input()) print('++++ ' * (a // 5) + "|" * (a % 5)) 2024. 5. 6. 백준) 30468번 - python a =list(map(int,input().split())) print(0 if sum(a[0:4]) / len(a[0:4]) >=a[-1] else a[-1] * 4 - sum(a[0:-1])) 2024. 5. 5. 백준) 30794번 - python hit = {"miss" : 0, "bad" : 200, "cool" : 400, "great" : 600, "perfect" : 1000} node ,result = input().split() node, answer = int(node), 0 if result in hit.keys(): answer = node * hit[result] print(answer) 2024. 5. 4. 이전 1 ··· 67 68 69 70 71 72 73 ··· 95 다음 728x90 반응형 LIST