結果
| 問題 |
No.525 二度寝の季節
|
| コンテスト | |
| ユーザー |
momotaros300
|
| 提出日時 | 2019-08-24 18:15:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| コンパイル時間 | 169 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2024-10-14 13:09:17 |
| 合計ジャッジ時間 | 2,625 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 14 WA * 19 |
ソースコード
T=input() # T='08:10' hour=int(T[:2]) minute=int(T[3:]) if minute+5>=60: sabun=minute+5-60 minute=sabun if hour==23: hour=0 else: hour+=1 else: minute+=5 out=str(hour) if hour!=0 else '00' out+=':' out+=str(minute) if hour!=0 else '00' print(out)
momotaros300