結果
問題 |
No.525 二度寝の季節
|
ユーザー |
![]() |
提出日時 | 2019-03-21 21:57:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 209 bytes |
コンパイル時間 | 70 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-19 02:02:03 |
合計ジャッジ時間 | 1,964 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 33 |
ソースコード
h,m = input().split(":") if int(m) < 55 : h = h.zfill(2) m = str(int(m) + 5).zfill(2) else : h = str((int(h) + 1) % 24).zfill(2) m = str((int(m) + 5) % 60).zfill(2) print("{}:{}".format(h,m))