結果

問題 No.766 金魚すくい
ユーザー tailstails
提出日時 2023-07-13 18:38:42
言語 cLay
(20240104-1)
結果
AC  
実行時間 34 ms / 1,500 ms
コード長 136 bytes
コンパイル時間 8,150 ms
コンパイル使用メモリ 210,272 KB
実行使用メモリ 9,152 KB
最終ジャッジ日時 2023-10-13 07:36:38
合計ジャッジ時間 12,436 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,352 KB
testcase_03 AC 1 ms
4,348 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 AC 1 ms
4,348 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 1 ms
4,352 KB
testcase_08 AC 2 ms
4,348 KB
testcase_09 AC 2 ms
4,348 KB
testcase_10 AC 2 ms
4,348 KB
testcase_11 AC 1 ms
4,352 KB
testcase_12 AC 2 ms
4,348 KB
testcase_13 AC 2 ms
4,352 KB
testcase_14 AC 2 ms
4,352 KB
testcase_15 AC 2 ms
4,348 KB
testcase_16 AC 2 ms
4,348 KB
testcase_17 AC 2 ms
4,348 KB
testcase_18 AC 1 ms
4,348 KB
testcase_19 AC 2 ms
4,348 KB
testcase_20 AC 2 ms
4,352 KB
testcase_21 AC 1 ms
4,348 KB
testcase_22 AC 2 ms
4,352 KB
testcase_23 AC 33 ms
8,624 KB
testcase_24 AC 28 ms
7,328 KB
testcase_25 AC 31 ms
7,444 KB
testcase_26 AC 28 ms
7,248 KB
testcase_27 AC 33 ms
9,108 KB
testcase_28 AC 29 ms
7,196 KB
testcase_29 AC 29 ms
7,408 KB
testcase_30 AC 28 ms
7,240 KB
testcase_31 AC 34 ms
9,152 KB
testcase_32 AC 30 ms
7,368 KB
testcase_33 AC 21 ms
7,000 KB
testcase_34 AC 21 ms
6,972 KB
testcase_35 AC 3 ms
4,348 KB
testcase_36 AC 3 ms
4,348 KB
testcase_37 AC 28 ms
7,428 KB
testcase_38 AC 28 ms
7,400 KB
testcase_39 AC 32 ms
8,912 KB
testcase_40 AC 27 ms
7,312 KB
testcase_41 AC 31 ms
7,448 KB
testcase_42 AC 26 ms
5,912 KB
testcase_43 AC 2 ms
4,348 KB
testcase_44 AC 1 ms
4,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

Comb<Mint>c;
ll@n,@m;
Mint@p;p/=100;
ll@v[n];
rsortA(n,v);
Mint r=sum(v(n)),s=r;
rep(i,n)r-=c.C(m-1+i,i)*p**m*(1-p)**i*s,s-=v[i];
wt(r);
0