結果

問題 No.525 二度寝の季節
ユーザー 310icecrystal
提出日時 2023-07-06 05:13:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 184 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2024-07-20 00:19:59
合計ジャッジ時間 2,441 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B = map(int,input().split(":"))

B += 5
if B >= 60:
	A += 1
	B -= 60
if A == 24:
	A = 0
A = str(A)
B = str(B)
if len(A) == 1:
	A = "0"+A
if len(B) == 1:
	B = "0"+B
print(A + ":" + B)
0