[백준/BOJ]2525번 오븐 시계 import sysh,m=map(int,input().split()) #두 수 입력 받음t=int(input()) #필요한 시간 입력 받음if h23 and m59 and t1000: sys.exit() #조건에 맞지 않으면 종료h = (h + ((m + t)//60)) % 24 m = (m + t)%60print(h,m) 질문은 happyoon913@gmail.com으로 보내주세요. Baekjoon/Python 2024.11.05