結果
| 問題 |
No.525 二度寝の季節
|
| コンテスト | |
| ユーザー |
knt3110
|
| 提出日時 | 2018-05-14 00:46:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-28 10:49:02 |
| 合計ジャッジ時間 | 2,110 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 RE * 1 |
| other | AC * 28 RE * 5 |
ソースコード
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