結果
問題 | No.296 n度寝 |
ユーザー |
|
提出日時 | 2025-06-02 17:56:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 230 bytes |
コンパイル時間 | 464 ms |
コンパイル使用メモリ | 11,776 KB |
実行使用メモリ | 11,392 KB |
最終ジャッジ日時 | 2025-06-02 17:56:33 |
合計ジャッジ時間 | 2,302 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 16 |
ソースコード
n, h, m, t= map(int, input().split()) cal_n= n - 1 ans_h= h ans_m= m def sleep(n, h, m, t): 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)