結果
| 問題 | No.525 二度寝の季節 |
| ユーザー |
knt3110
|
| 提出日時 | 2018-05-14 00:46:49 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 18 ms / 1,000 ms |
| + 653µs | |
| コード長 | 277 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 14,592 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-12 12:45:40 |
| 合計ジャッジ時間 | 2,855 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 34 |
ソースコード
time=input()
t=time.split(":")
minute=int(t[1])+5
if minute<60:
t[1]='{0:02d}'.format(minute)
else:
hour=int(t[0])+1
if hour<24:
t[0]='{0:02d}'.format(hour)
else:
t[0]='{0:02d}'.format(0)
t[1]='{0:02d}'.format(minute-60)
print(t[0]+':'+t[1])
knt3110