結果

問題 No.2164 Equal Balls
ユーザー tailstails
提出日時 2022-12-15 17:23:07
言語 cLay
(20240104-1)
結果
TLE  
実行時間 -
コード長 271 bytes
コンパイル時間 7,210 ms
コンパイル使用メモリ 194,468 KB
実行使用メモリ 14,848 KB
最終ジャッジ日時 2024-04-26 18:04:32
合計ジャッジ時間 48,477 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
14,848 KB
testcase_01 AC 53 ms
7,040 KB
testcase_02 AC 111 ms
7,168 KB
testcase_03 AC 56 ms
7,040 KB
testcase_04 AC 120 ms
7,040 KB
testcase_05 AC 154 ms
7,040 KB
testcase_06 AC 162 ms
7,040 KB
testcase_07 AC 132 ms
7,040 KB
testcase_08 AC 2,983 ms
7,552 KB
testcase_09 AC 2,488 ms
7,552 KB
testcase_10 AC 1,455 ms
7,296 KB
testcase_11 TLE -
testcase_12 AC 3,183 ms
7,552 KB
testcase_13 AC 2,285 ms
7,424 KB
testcase_14 AC 2,895 ms
7,552 KB
testcase_15 TLE -
testcase_16 AC 2,935 ms
7,424 KB
testcase_17 AC 924 ms
7,168 KB
testcase_18 AC 3,874 ms
7,680 KB
testcase_19 TLE -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
testcase_40 -- -
testcase_41 -- -
testcase_42 -- -
testcase_43 -- -
testcase_44 -- -
testcase_45 -- -
testcase_46 -- -
testcase_47 -- -
testcase_48 -- -
testcase_49 -- -
testcase_50 -- -
testcase_51 -- -
testcase_52 -- -
testcase_53 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
Comb<Mint>c;
ll@n,@m,@a[n],@b[n];
Mint e[m][1024];
rep(k,m){
	rep(j,601){
		e[k][j]=1;
	}
}
rep(i,n){
	rep(j,601){
		e[i%m][j]*=c.C(a[i]+b[i],j-300+b[i]);
	}
}
Mint g[1<<17];
g[0]=1;
rep(k,m){
	convolution(g,1<<17,e[k],1024,g,1<<17);
}
wt(g[m*300]);
0