728x90 반응형 SMALL 전체 글374 백준) 2884번 - python H,M = map(int,input().split(" ")) if M>=45: print(H,M-45) else: c = H-1 if c >= 0: print(c,M+15) else: print(24+c,M+15) 2024. 2. 12. 백준) 2525번 - python a,b = map(int, input().split(" ")) c = int(input()) if b+c= 24: print(d-24,e) else: print(d,e) 2024. 2. 11. 백준) 2395번 - python a = int(input()) b = input() c = int(input()) if b == '+': print(a+c) else: print(a*c) 2024. 2. 10. 백준) 2163번 - python N,M = map(int, input().split()) print(N * M - 1) 2024. 2. 9. 이전 1 ··· 87 88 89 90 91 92 93 94 다음 728x90 반응형 LIST