結果

問題 No.525 二度寝の季節
ユーザー unchy
提出日時 2018-12-31 23:35:12
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-13 10:10:22
合計ジャッジ時間 1,984 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

(h,m) = input().split(":")
h=int(h)
m=int(m)

m = m+5
if m>=60 :
    h = h+1
    m = m-60
if h == 24 :
    h = 0

print("{:02}:{:02}".format(h,m))
0