結果

問題 No.525 二度寝の季節
ユーザー Watson
提出日時 2017-07-27 10:40:03
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 279 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-10 02:01:54
合計ジャッジ時間 2,368 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

T = [int(i) for i in input().split(":")]
T[1] += 5
H = 0
M = 0
if T[1] >= 60:
    T[0] += 1
    T[1] -= 60
    if T[0] == 24:
        T[0] = 00
if T[0] < 10:
    H = "0"+str(T[0])
else:
    H = str(T[0])
if T[1] < 10:
    M = "0"+str(T[1])
else:
    M = str(T[1])
print(H+":"+M)
0