結果

問題 No.2803 Bocching Star
ユーザー 👑 p-adicp-adic
提出日時 2024-07-12 23:12:21
言語 cLay
(20240714-1)
結果
AC  
実行時間 111 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 3,513 ms
コンパイル使用メモリ 186,880 KB
実行使用メモリ 18,048 KB
最終ジャッジ日時 2024-07-12 23:12:29
合計ジャッジ時間 6,746 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,812 KB
testcase_01 AC 2 ms
6,940 KB
testcase_02 AC 1 ms
6,940 KB
testcase_03 AC 10 ms
6,940 KB
testcase_04 AC 77 ms
15,232 KB
testcase_05 AC 36 ms
10,112 KB
testcase_06 AC 7 ms
6,944 KB
testcase_07 AC 26 ms
8,064 KB
testcase_08 AC 14 ms
6,944 KB
testcase_09 AC 81 ms
16,256 KB
testcase_10 AC 90 ms
16,640 KB
testcase_11 AC 88 ms
16,384 KB
testcase_12 AC 24 ms
7,552 KB
testcase_13 AC 65 ms
14,464 KB
testcase_14 AC 43 ms
11,136 KB
testcase_15 AC 88 ms
16,000 KB
testcase_16 AC 42 ms
10,496 KB
testcase_17 AC 14 ms
6,940 KB
testcase_18 AC 10 ms
6,940 KB
testcase_19 AC 69 ms
14,592 KB
testcase_20 AC 38 ms
10,368 KB
testcase_21 AC 30 ms
8,832 KB
testcase_22 AC 30 ms
8,832 KB
testcase_23 AC 92 ms
17,280 KB
testcase_24 AC 105 ms
17,920 KB
testcase_25 AC 104 ms
17,664 KB
testcase_26 AC 110 ms
17,920 KB
testcase_27 AC 97 ms
17,280 KB
testcase_28 AC 110 ms
17,536 KB
testcase_29 AC 90 ms
17,280 KB
testcase_30 AC 111 ms
17,792 KB
testcase_31 AC 94 ms
17,280 KB
testcase_32 AC 102 ms
18,048 KB
testcase_33 AC 3 ms
6,944 KB
testcase_34 AC 2 ms
6,944 KB
testcase_35 AC 2 ms
6,944 KB
testcase_36 AC 2 ms
6,940 KB
testcase_37 AC 2 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N,@S,@P[N],L=0;VLL Q[N];rep(i,N)Q[i]={P[i],i+1};sort(Q,Q+N);rep[Q,i](r,N)if((i<1||Q[i-1][0]+S<r[0])&(i>N-2||r[0]<Q[i+1][0]-S))P[L++]=r[1];sort(P,P+L);wt(L);wt(P(L));
0