結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-09 13:05:20 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 94 ms / 1,000 ms |
| + 655µs | |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 299 ms |
| コンパイル使用メモリ | 21,208 KB |
| 実行使用メモリ | 15,788 KB |
| 最終ジャッジ日時 | 2026-09-01 11:03:59 |
| 合計ジャッジ時間 | 3,221 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
N,H,M,T = map(int,input().split())
if N != 1:
full_M = ((H * 60 + M) + (N - 1) * T)
if full_M < 1440:
print(full_M // 60)
print(full_M % 60)
else:
print(full_M // 60 % 24)
print(full_M % 60)
else:
print(H)
print(M)