[백준(BOJ) - Python] 2530번 <인공지능 시계> 📄문제 🔍코드 H, M, S = map(int,input().split()) time = int(input()) S += time if S > 59: M += (S // 60) S = S % 60 if M > 59: H += M // 60 M = M % 60 if H > 23: H = H % 24 print(H, M, S)문제 출처 : https://www.acmicpc.net/problem/2530 백준 알고리즘 2022.02.14