結果
| 問題 | No.525 二度寝の季節 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-23 09:37:53 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 1,000 ms |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 841 ms |
| コンパイル使用メモリ | 84,608 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2026-04-10 11:30:34 |
| 合計ジャッジ時間 | 2,987 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 33 |
ソースコード
T = input()
i = T.index(":")
H = int(T[:i])
M = int(T[i + 1:])
M += 5
H += M // 60
M %= 60
H %= 24
if H < 10:
print("0" + str(H) + ":", end = "")
else:
print(str(H) + ":", end = "")
if M < 10:
print("0" + str(M))
else:
print(M)