結果

問題 No.2559 眩しい数直線
ユーザー Schnee
提出日時 2024-04-28 02:09:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 303 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-16 10:18:59
合計ジャッジ時間 3,780 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x,*d=map(int,open(0).read().split())
print(*[max(0,*[d[2*i+1]-abs(j+1-d[2*i])for i in range(n)])for j in range(x)])
0