結果

問題 No.525 二度寝の季節
ユーザー c-yan
提出日時 2020-03-27 21:57:41
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 146 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2025-01-02 09:35:26
合計ジャッジ時間 2,566 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

T = input()

hh, mm = map(int, T.split(':'))

mm += 5
if mm > 59:
    hh += 1
    mm %= 60
if hh > 23:
    hh %= 24

print('%02d:%02d' % (hh, mm))
0