結果

問題 No.1771 A DELETEQ
ユーザー tailstails
提出日時 2021-12-03 15:37:35
言語 cLay
(20231016-1)
結果
AC  
実行時間 89 ms / 3,500 ms
コード長 162 bytes
コンパイル時間 5,232 ms
コンパイル使用メモリ 175,012 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-19 07:30:53
合計ジャッジ時間 7,359 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 87 ms
4,376 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 AC 89 ms
4,380 KB
testcase_05 AC 88 ms
4,376 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 5 ms
4,380 KB
testcase_10 AC 6 ms
4,376 KB
testcase_11 AC 7 ms
4,384 KB
testcase_12 AC 7 ms
4,380 KB
testcase_13 AC 5 ms
4,376 KB
testcase_14 AC 21 ms
4,380 KB
testcase_15 AC 25 ms
4,380 KB
testcase_16 AC 41 ms
4,380 KB
testcase_17 AC 2 ms
4,376 KB
testcase_18 AC 4 ms
4,376 KB
testcase_19 AC 2 ms
4,380 KB
testcase_20 AC 15 ms
4,376 KB
testcase_21 AC 2 ms
4,376 KB
testcase_22 AC 8 ms
4,384 KB
testcase_23 AC 8 ms
4,376 KB
testcase_24 AC 3 ms
4,380 KB
testcase_25 AC 3 ms
4,380 KB
testcase_26 AC 12 ms
4,380 KB
testcase_27 AC 4 ms
4,376 KB
testcase_28 AC 2 ms
4,376 KB
evil_hand_1.txt RE -
evil_hand_2.txt RE -
evil_hand_3.txt RE -
evil_random_1.txt RE -
evil_random_2.txt RE -
evil_random_3.txt RE -
evil_random_4.txt RE -
evil_random_5.txt RE -
evil_random_6.txt RE -
evil_random_7.txt RE -
evil_random_8.txt RE -
evil_random_9.txt RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
Comb<Mint>c;
ll@x,@y;
if(x>4000||y>4000)exit(1);
Mint r;
rep(z,min(x,y)+1){
	rep(w,z+1){
		r+=c.Multinomial(x-z,y-z,w)*c.pw2(w);
	}
}
wt(r);
0