結果

問題 No.525 二度寝の季節
コンテスト
ユーザー knt3110
提出日時 2018-05-14 00:45:56
言語 Python3
(3.14.3 + numpy 2.4.4 + scipy 1.17.1)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
RE  
実行時間 -
コード長 277 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 516 ms
コンパイル使用メモリ 20,700 KB
実行使用メモリ 20,572 KB
最終ジャッジ日時 2026-03-17 01:36:43
合計ジャッジ時間 9,849 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 33
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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