結果
問題 |
No.525 二度寝の季節
|
ユーザー |
|
提出日時 | 2021-02-23 09:37:53 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 1,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 288 ms |
コンパイル使用メモリ | 82,508 KB |
実行使用メモリ | 53,804 KB |
最終ジャッジ日時 | 2024-09-22 05:41:05 |
合計ジャッジ時間 | 2,893 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)