結果

問題 No.2548 Problem Selection
ユーザー 👑 p-adicp-adic
提出日時 2023-11-25 14:45:13
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 2,166 ms
コンパイル使用メモリ 176,840 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2023-11-25 14:45:17
合計ジャッジ時間 3,346 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 2 ms
6,676 KB
testcase_14 AC 1 ms
6,676 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 2 ms
6,676 KB
testcase_18 AC 2 ms
6,676 KB
testcase_19 WA -
testcase_20 AC 1 ms
6,676 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 1 ms
6,676 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 2 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N,@M,@A[N],a,t;sort(A,A+N);a=t=sum[i,0,M-1]((A[i+1]-A[i])**2);REP(j,1,N-M+1)a<?=t+=(A[M+j]-A[M+j-1])**2-(A[j]-A[j-1])**2;wt(a);
0