結果
| 問題 | No.525 二度寝の季節 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-23 09:37:53 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 1,000 ms |
| + 505µs | |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 2,077 ms |
| コンパイル使用メモリ | 95,824 KB |
| 実行使用メモリ | 78,884 KB |
| 最終ジャッジ日時 | 2026-09-02 05:29:38 |
| 合計ジャッジ時間 | 4,362 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_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)