結果

問題 No.525 二度寝の季節
ユーザー knt3110
提出日時 2018-05-14 00:45:56
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 277 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-06-28 10:49:00
合計ジャッジ時間 2,195 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

time=input()
t=time.split(":")
minute=int(t[1])+5
if minuts<60:
    t[1]='{0:02d}'.format(minute)
else:
    hour=int(t[0]+1)
    if hour<24:
        t[0]='{0:02d}'.format(hour)
    else:
        t[0]='{0:02d}'.format(0)
    t[1]='{0:02d}'.format(minute-60)
print(t[0]+':'+t[1])
0