結果

問題 No.895 MESE
ユーザー yuruhiyayuruhiya
提出日時 2020-10-19 17:46:49
言語 cLay
(20231016-1)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 177 bytes
コンパイル時間 3,772 ms
コンパイル使用メモリ 177,356 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2023-09-19 01:40:06
合計ジャッジ時間 6,519 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 2 ms
4,376 KB
testcase_03 AC 2 ms
4,376 KB
testcase_04 AC 2 ms
4,384 KB
testcase_05 AC 2 ms
4,376 KB
testcase_06 AC 1 ms
4,376 KB
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 2 ms
4,376 KB
testcase_09 AC 2 ms
4,380 KB
testcase_10 AC 2 ms
4,380 KB
testcase_11 AC 2 ms
4,376 KB
testcase_12 AC 2 ms
4,380 KB
testcase_13 AC 17 ms
5,304 KB
testcase_14 AC 34 ms
4,920 KB
testcase_15 AC 37 ms
6,028 KB
testcase_16 AC 24 ms
5,404 KB
testcase_17 AC 8 ms
4,652 KB
testcase_18 AC 42 ms
6,388 KB
testcase_19 AC 43 ms
6,392 KB
testcase_20 AC 43 ms
6,432 KB
testcase_21 AC 42 ms
6,464 KB
testcase_22 AC 43 ms
6,476 KB
testcase_23 AC 43 ms
6,476 KB
testcase_24 AC 43 ms
6,548 KB
testcase_25 AC 43 ms
6,464 KB
testcase_26 AC 43 ms
6,440 KB
testcase_27 AC 43 ms
6,388 KB
testcase_28 AC 42 ms
6,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{
	int @a, @b, @c;
	Comb<Mint> C;
	Mint ans;
	rep(i, 2, a + 2) {
		int m = a + b + c - i;
		ans += (Mint(2) ** m - 1) * C.C(m, c) * c / m * C.C(a + b - i, b - 1);
	}
	wt(ans);
}
0