結果

問題 No.2528 pop_(backfront or not)
ユーザー 👑 p-adicp-adic
提出日時 2023-11-04 01:27:45
言語 cLay
(20240104-1)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 201 bytes
コンパイル時間 2,685 ms
コンパイル使用メモリ 176,268 KB
実行使用メモリ 66,040 KB
最終ジャッジ日時 2023-11-04 01:27:50
合計ジャッジ時間 4,364 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,372 KB
testcase_01 AC 1 ms
4,372 KB
testcase_02 AC 2 ms
4,372 KB
testcase_03 AC 1 ms
4,372 KB
testcase_04 AC 2 ms
4,372 KB
testcase_05 AC 2 ms
4,372 KB
testcase_06 AC 2 ms
4,372 KB
testcase_07 AC 3 ms
4,400 KB
testcase_08 AC 4 ms
4,876 KB
testcase_09 AC 10 ms
8,144 KB
testcase_10 AC 30 ms
18,784 KB
testcase_11 AC 33 ms
20,016 KB
testcase_12 AC 47 ms
27,420 KB
testcase_13 AC 51 ms
29,880 KB
testcase_14 AC 63 ms
36,100 KB
testcase_15 AC 115 ms
54,324 KB
testcase_16 AC 121 ms
65,912 KB
testcase_17 AC 120 ms
65,976 KB
testcase_18 AC 122 ms
66,040 KB
権限があれば一括ダウンロードができます

ソースコード

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?(i-1)*(i-2)/2*A[i-2][j]:z)+(j>2?(j-1)*(j-2)/2*A[i][j-2]:z);rep(i,L)wt(A[i][L-i-1]);
0