結果

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

テストケース

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

ソースコード

diff #

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