結果

問題 No.2528 pop_(backfront or not)
ユーザー 👑 p-adicp-adic
提出日時 2023-11-04 01:19:08
言語 cLay
(20240104-1)
結果
AC  
実行時間 187 ms / 2,000 ms
コード長 207 bytes
コンパイル時間 4,617 ms
コンパイル使用メモリ 184,756 KB
実行使用メモリ 70,216 KB
最終ジャッジ日時 2023-11-04 01:19:15
合計ジャッジ時間 6,794 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,572 KB
testcase_01 AC 2 ms
7,572 KB
testcase_02 AC 3 ms
7,572 KB
testcase_03 AC 2 ms
7,572 KB
testcase_04 AC 2 ms
7,576 KB
testcase_05 AC 3 ms
7,732 KB
testcase_06 AC 3 ms
7,872 KB
testcase_07 AC 5 ms
8,512 KB
testcase_08 AC 6 ms
8,984 KB
testcase_09 AC 16 ms
12,264 KB
testcase_10 AC 47 ms
22,916 KB
testcase_11 AC 51 ms
24,144 KB
testcase_12 AC 73 ms
31,548 KB
testcase_13 AC 80 ms
34,008 KB
testcase_14 AC 98 ms
40,228 KB
testcase_15 AC 151 ms
58,504 KB
testcase_16 AC 187 ms
70,092 KB
testcase_17 AC 186 ms
70,152 KB
testcase_18 AC 186 ms
70,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
ll@N,L=2N+1;Mint A[L][L]{{1}},z=0;Comb<Mint>c;rep(i,1,L)REP(j,1,L-i)A[i][j]=A[i-1][j-1]*((i-1)*(j-1)+1)+(i>2?A[i-2][j]*c.C(i-1,2):z)+(j>2?A[i][j-2]*c.C(j-1,2):z);rep(i,L)wt(A[i][L-i-1]);
0