結果

問題 No.525 二度寝の季節
ユーザー トミートミー
提出日時 2024-04-26 19:34:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 1,000 ms
コード長 239 bytes
コンパイル時間 392 ms
コンパイル使用メモリ 82,160 KB
実行使用メモリ 53,820 KB
最終ジャッジ日時 2024-04-26 19:34:18
合計ジャッジ時間 3,200 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,820 KB
testcase_01 AC 37 ms
53,820 KB
testcase_02 AC 37 ms
52,636 KB
testcase_03 AC 36 ms
53,036 KB
testcase_04 AC 36 ms
53,288 KB
testcase_05 AC 36 ms
52,904 KB
testcase_06 AC 35 ms
52,872 KB
testcase_07 AC 37 ms
52,428 KB
testcase_08 AC 36 ms
52,404 KB
testcase_09 AC 37 ms
52,452 KB
testcase_10 AC 37 ms
52,464 KB
testcase_11 AC 47 ms
51,872 KB
testcase_12 AC 36 ms
53,060 KB
testcase_13 AC 36 ms
52,864 KB
testcase_14 AC 36 ms
53,364 KB
testcase_15 AC 37 ms
52,324 KB
testcase_16 AC 37 ms
52,340 KB
testcase_17 AC 37 ms
51,960 KB
testcase_18 AC 36 ms
52,244 KB
testcase_19 AC 37 ms
53,164 KB
testcase_20 AC 37 ms
53,016 KB
testcase_21 AC 38 ms
52,612 KB
testcase_22 AC 37 ms
51,900 KB
testcase_23 AC 36 ms
53,360 KB
testcase_24 AC 37 ms
52,208 KB
testcase_25 AC 37 ms
53,008 KB
testcase_26 AC 36 ms
52,248 KB
testcase_27 AC 37 ms
52,232 KB
testcase_28 AC 37 ms
53,356 KB
testcase_29 AC 37 ms
52,760 KB
testcase_30 AC 37 ms
52,876 KB
testcase_31 AC 38 ms
52,108 KB
testcase_32 AC 38 ms
52,680 KB
testcase_33 AC 35 ms
52,776 KB
testcase_34 AC 61 ms
53,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    t=input()
    h=int(t[0:2])
    m=int(t[3:5])
    m+=5
    if m>=60:
        m-=60
        h+=1
    if h>=24:
        h-=24
    print(f"{str(h).zfill(2)}:{str(m).zfill(2)}")
    pass


if __name__ == "__main__":
    main()
0