結果
| 問題 | No.2559 眩しい数直線 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-04-09 12:37:19 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 114 ms / 2,000 ms |
| + 687µs | |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,592 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2026-10-15 02:12:15 |
| 合計ジャッジ時間 | 2,952 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
n,x=map(int,input().split()) ab=[list(map(int,input().split())) for i in range(n)] def c(x): return max(max(b-abs(x-a),0) for a, b in ab) print(*(c(i) for i in range(1,x+1)))