結果
問題 | No.2559 眩しい数直線 |
ユーザー | nikoro256 |
提出日時 | 2023-12-08 02:15:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 281 ms |
コンパイル使用メモリ | 81,572 KB |
実行使用メモリ | 66,652 KB |
最終ジャッジ日時 | 2023-12-08 02:15:19 |
合計ジャッジ時間 | 2,595 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 37 ms
53,332 KB |
testcase_01 | AC | 37 ms
53,332 KB |
testcase_02 | AC | 37 ms
53,332 KB |
testcase_03 | AC | 52 ms
61,584 KB |
testcase_04 | AC | 50 ms
63,776 KB |
testcase_05 | AC | 60 ms
66,648 KB |
testcase_06 | AC | 61 ms
66,648 KB |
testcase_07 | AC | 58 ms
66,648 KB |
testcase_08 | AC | 58 ms
66,652 KB |
testcase_09 | AC | 60 ms
66,648 KB |
testcase_10 | AC | 55 ms
66,652 KB |
testcase_11 | AC | 43 ms
59,512 KB |
testcase_12 | AC | 50 ms
64,596 KB |
testcase_13 | AC | 61 ms
66,648 KB |
testcase_14 | AC | 59 ms
66,648 KB |
testcase_15 | AC | 61 ms
66,648 KB |
testcase_16 | AC | 48 ms
61,848 KB |
testcase_17 | AC | 65 ms
66,648 KB |
testcase_18 | AC | 50 ms
63,904 KB |
testcase_19 | AC | 62 ms
66,648 KB |
testcase_20 | AC | 56 ms
66,648 KB |
testcase_21 | AC | 53 ms
63,912 KB |
testcase_22 | AC | 59 ms
66,648 KB |
ソースコード
N,X=map(int,input().split()) point=[0]*(X+1) for i in range(N): a,b=map(int,input().split()) for j in range(1,X+1): point[j]=max(b-abs(j-a),point[j]) print(*point[1:])