結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-15 10:56:29 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-07-10 17:09:17 |
| 合計ジャッジ時間 | 7,719 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 6 TLE * 2 -- * 8 |
ソースコード
n, h, m, t = map(int, input().split())
m += t*(n-1)
while True:
if m < 60:
h %= 24
break
m -= 60
h += 1
print('{}\n{}\n'.format(h,m))