結果

問題 No.2528 pop_(backfront or not)
ユーザー 👑 p-adicp-adic
提出日時 2023-11-04 01:17:48
言語 cLay
(20240104-1)
結果
TLE  
実行時間 -
コード長 201 bytes
コンパイル時間 2,844 ms
コンパイル使用メモリ 177,136 KB
実行使用メモリ 66,032 KB
最終ジャッジ日時 2023-11-04 01:18:07
合計ジャッジ時間 19,058 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,372 KB
testcase_01 AC 1 ms
4,372 KB
testcase_02 AC 1 ms
4,372 KB
testcase_03 AC 2 ms
4,372 KB
testcase_04 AC 1 ms
4,372 KB
testcase_05 AC 8 ms
4,372 KB
testcase_06 AC 13 ms
4,372 KB
testcase_07 AC 40 ms
4,392 KB
testcase_08 AC 59 ms
4,868 KB
testcase_09 AC 196 ms
8,140 KB
testcase_10 AC 664 ms
18,780 KB
testcase_11 AC 690 ms
20,008 KB
testcase_12 AC 1,026 ms
27,412 KB
testcase_13 AC 1,130 ms
29,872 KB
testcase_14 AC 1,388 ms
36,092 KB
testcase_15 TLE -
testcase_16 TLE -
testcase_17 TLE -
testcase_18 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
ll@N,L=2N+1;Mint A[L][L]{{1}},z=0;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]*(i-1)*(i-2)/2:z)+(j>2?A[i][j-2]*(j-1)*(j-2)/2:z);rep(i,L)wt(A[i][L-i-1]);
0