結果

問題 No.2667 Constrained Permutation
ユーザー tailstails
提出日時 2024-03-08 22:29:53
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 111 bytes
コンパイル時間 6,641 ms
コンパイル使用メモリ 209,128 KB
実行使用メモリ 11,584 KB
最終ジャッジ日時 2024-03-08 22:30:09
合計ジャッジ時間 8,869 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
7,616 KB
testcase_01 AC 2 ms
7,616 KB
testcase_02 AC 2 ms
7,616 KB
testcase_03 AC 2 ms
7,616 KB
testcase_04 AC 2 ms
7,616 KB
testcase_05 AC 2 ms
7,616 KB
testcase_06 AC 2 ms
7,616 KB
testcase_07 AC 2 ms
7,616 KB
testcase_08 AC 2 ms
7,616 KB
testcase_09 AC 2 ms
7,616 KB
testcase_10 AC 3 ms
7,616 KB
testcase_11 AC 3 ms
7,616 KB
testcase_12 AC 8 ms
9,536 KB
testcase_13 AC 3 ms
7,616 KB
testcase_14 AC 19 ms
11,456 KB
testcase_15 AC 17 ms
10,944 KB
testcase_16 AC 12 ms
10,176 KB
testcase_17 AC 5 ms
8,768 KB
testcase_18 AC 21 ms
11,584 KB
testcase_19 AC 19 ms
11,584 KB
testcase_20 AC 19 ms
11,584 KB
testcase_21 AC 20 ms
11,584 KB
testcase_22 AC 23 ms
11,584 KB
testcase_23 AC 20 ms
11,584 KB
testcase_24 AC 9 ms
9,920 KB
testcase_25 AC 16 ms
11,072 KB
testcase_26 AC 20 ms
11,584 KB
testcase_27 AC 19 ms
11,584 KB
testcase_28 AC 16 ms
10,816 KB
testcase_29 AC 15 ms
10,688 KB
testcase_30 AC 16 ms
11,072 KB
testcase_31 AC 10 ms
10,048 KB
testcase_32 AC 4 ms
8,256 KB
testcase_33 WA -
testcase_34 AC 13 ms
10,176 KB
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 16 ms
10,816 KB
testcase_39 AC 2 ms
7,616 KB
testcase_40 AC 12 ms
10,176 KB
testcase_41 AC 17 ms
11,072 KB
testcase_42 AC 10 ms
10,304 KB
testcase_43 AC 15 ms
10,944 KB
testcase_44 AC 7 ms
9,536 KB
testcase_45 AC 2 ms
7,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@(l,r)[n];
sortA(n,l);
ll a=max[i,0,n](l[i]-i);
sortA(n,r);
ll b=min[i,0,n](r[i]-i);
wt(b-a+1>0?b-a+1:0);
0