結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-17 11:45:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 341 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-04-29 22:25:45 |
| 合計ジャッジ時間 | 2,851 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 2 |
ソースコード
n, h, m ,t = map(int, input().split())
m1 = (n-1) * t
m = m + m1
h1 = 0
if m > 60:
h1 = m//60
m = m - h1*60
h = h + h1
h2 = 0
if h > 24:
h2 = h//24
h = h - h2*24
print(h)
print(m)