結果

問題 No.1093 区間の和 / Sum of Range
ユーザー tailstails
提出日時 2020-08-05 11:17:05
言語 cLay
(20240104-1)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 2,376 ms
コンパイル使用メモリ 164,496 KB
実行使用メモリ 5,732 KB
最終ジャッジ日時 2023-09-19 00:57:01
合計ジャッジ時間 7,086 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 7 ms
4,632 KB
testcase_02 AC 4 ms
4,384 KB
testcase_03 AC 9 ms
4,384 KB
testcase_04 AC 7 ms
4,572 KB
testcase_05 AC 9 ms
4,904 KB
testcase_06 AC 4 ms
4,384 KB
testcase_07 AC 6 ms
4,384 KB
testcase_08 AC 9 ms
4,880 KB
testcase_09 AC 6 ms
4,600 KB
testcase_10 AC 8 ms
4,652 KB
testcase_11 AC 7 ms
4,384 KB
testcase_12 AC 11 ms
4,464 KB
testcase_13 AC 1 ms
4,388 KB
testcase_14 AC 8 ms
4,456 KB
testcase_15 AC 5 ms
4,380 KB
testcase_16 AC 12 ms
5,016 KB
testcase_17 AC 6 ms
4,384 KB
testcase_18 AC 7 ms
4,384 KB
testcase_19 AC 3 ms
4,380 KB
testcase_20 AC 6 ms
4,380 KB
testcase_21 AC 12 ms
4,832 KB
testcase_22 AC 15 ms
5,060 KB
testcase_23 AC 7 ms
4,384 KB
testcase_24 AC 6 ms
4,660 KB
testcase_25 AC 6 ms
4,548 KB
testcase_26 AC 13 ms
4,740 KB
testcase_27 AC 9 ms
4,736 KB
testcase_28 AC 11 ms
4,696 KB
testcase_29 AC 12 ms
5,732 KB
testcase_30 AC 3 ms
4,380 KB
testcase_31 AC 7 ms
4,380 KB
testcase_32 AC 6 ms
4,380 KB
testcase_33 AC 14 ms
5,020 KB
testcase_34 AC 3 ms
4,384 KB
testcase_35 AC 8 ms
4,508 KB
testcase_36 AC 15 ms
5,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll*e,n,k,q,a[2d5];{rd(n,k,a(n),q);rrep(i,n)a[i]+=a[i+1];a[0..n]-=a[k..];sort(a,e=a-~n-k);rep(q)rd(k),wt(k=upper_bound(a,e,k)-a);}
0