結果
| 問題 |
No.296 n度寝
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-02 18:00:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 235 bytes |
| コンパイル時間 | 560 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2025-06-02 18:00:55 |
| 合計ジャッジ時間 | 2,090 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 10 |
ソースコード
n, h, m, t= map(int, input().split()) def sleep(n, h, m, t): cal_n= n - 1 ans_h= h ans_m= m ans_m += cal_n * t if ans_m >= 60: while ans_m < 60: ans_h += 1 ans_m -= 60 print(ans_h) print(ans_m) sleep(n, h, m, t)