結果

問題 No.525 二度寝の季節
ユーザー uetaueta
提出日時 2022-10-28 18:34:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 1,000 ms
コード長 268 bytes
コンパイル時間 421 ms
コンパイル使用メモリ 87,300 KB
実行使用メモリ 71,632 KB
最終ジャッジ日時 2023-09-20 01:39:54
合計ジャッジ時間 4,414 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,448 KB
testcase_01 AC 71 ms
71,600 KB
testcase_02 AC 71 ms
71,428 KB
testcase_03 AC 70 ms
71,412 KB
testcase_04 AC 71 ms
71,476 KB
testcase_05 AC 71 ms
71,400 KB
testcase_06 AC 70 ms
71,332 KB
testcase_07 AC 71 ms
71,392 KB
testcase_08 AC 71 ms
71,420 KB
testcase_09 AC 72 ms
71,420 KB
testcase_10 AC 72 ms
71,300 KB
testcase_11 AC 73 ms
71,440 KB
testcase_12 AC 71 ms
71,336 KB
testcase_13 AC 71 ms
71,436 KB
testcase_14 AC 70 ms
71,532 KB
testcase_15 AC 72 ms
71,136 KB
testcase_16 AC 70 ms
71,632 KB
testcase_17 AC 71 ms
71,268 KB
testcase_18 AC 71 ms
71,096 KB
testcase_19 AC 72 ms
71,284 KB
testcase_20 AC 70 ms
71,248 KB
testcase_21 AC 70 ms
71,248 KB
testcase_22 AC 71 ms
71,408 KB
testcase_23 AC 70 ms
71,356 KB
testcase_24 AC 71 ms
71,360 KB
testcase_25 AC 71 ms
71,272 KB
testcase_26 AC 70 ms
71,244 KB
testcase_27 AC 71 ms
71,272 KB
testcase_28 AC 71 ms
71,548 KB
testcase_29 AC 71 ms
71,244 KB
testcase_30 AC 72 ms
71,244 KB
testcase_31 AC 71 ms
71,448 KB
testcase_32 AC 72 ms
71,472 KB
testcase_33 AC 71 ms
71,412 KB
testcase_34 AC 71 ms
71,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p = input().split(":")
if p[0][0]=="0":
    p[0]=int(p[0][1])
else:
    p[0]=int(p[0])
if p[1][0]=="0":
    p[1]=int(p[1][1])
else:
    p[1]=int(p[1])
p[1]+=5
if p[1]>59:
    p[1]-=60
    p[0]+=1
if p[0]==24:
    p[0]=0
print(str(p[0]).zfill(2)+":"+str(p[1]).zfill(2))
0