結果

問題 No.2582 Random Average^K
ユーザー 👑 p-adicp-adic
提出日時 2023-12-10 15:59:42
言語 cLay
(20240104-1)
結果
AC  
実行時間 166 ms / 2,000 ms
コード長 134 bytes
コンパイル時間 4,742 ms
コンパイル使用メモリ 181,708 KB
実行使用メモリ 15,188 KB
最終ジャッジ日時 2023-12-10 15:59:49
合計ジャッジ時間 6,447 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,488 KB
testcase_01 AC 3 ms
7,488 KB
testcase_02 AC 2 ms
7,488 KB
testcase_03 AC 2 ms
7,488 KB
testcase_04 AC 2 ms
7,488 KB
testcase_05 AC 2 ms
7,488 KB
testcase_06 AC 3 ms
7,488 KB
testcase_07 AC 2 ms
7,488 KB
testcase_08 AC 3 ms
7,488 KB
testcase_09 AC 45 ms
9,536 KB
testcase_10 AC 74 ms
10,816 KB
testcase_11 AC 74 ms
10,944 KB
testcase_12 AC 165 ms
15,188 KB
testcase_13 AC 143 ms
15,188 KB
testcase_14 AC 3 ms
7,488 KB
testcase_15 AC 166 ms
15,176 KB
testcase_16 AC 88 ms
11,584 KB
testcase_17 AC 90 ms
11,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
ll@N,@K;Mint t;Comb<Mint>c;wt(sum[i,0,N+1]((t=i,t**(K+N)*c.C(N,i)*((N-i)%2?-1:1)))/mul[i,1,N+1](t=K+i)/(t=N)**K);
0