結果

問題 No.1238 選抜クラス
ユーザー yuruhiyayuruhiya
提出日時 2020-10-08 17:56:38
言語 cLay
(20240104-1)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 192 bytes
コンパイル時間 2,384 ms
コンパイル使用メモリ 174,964 KB
実行使用メモリ 5,648 KB
最終ジャッジ日時 2023-09-19 01:31:17
合計ジャッジ時間 5,668 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
5,316 KB
testcase_01 AC 5 ms
5,420 KB
testcase_02 AC 7 ms
5,516 KB
testcase_03 AC 4 ms
5,460 KB
testcase_04 AC 3 ms
5,316 KB
testcase_05 AC 3 ms
5,484 KB
testcase_06 AC 4 ms
5,392 KB
testcase_07 AC 6 ms
5,304 KB
testcase_08 AC 7 ms
5,308 KB
testcase_09 AC 9 ms
5,368 KB
testcase_10 AC 6 ms
5,308 KB
testcase_11 AC 8 ms
5,308 KB
testcase_12 AC 7 ms
5,636 KB
testcase_13 AC 7 ms
5,312 KB
testcase_14 AC 7 ms
5,428 KB
testcase_15 AC 9 ms
5,444 KB
testcase_16 AC 8 ms
5,488 KB
testcase_17 AC 32 ms
5,436 KB
testcase_18 AC 32 ms
5,312 KB
testcase_19 AC 33 ms
5,304 KB
testcase_20 AC 31 ms
5,424 KB
testcase_21 AC 31 ms
5,304 KB
testcase_22 AC 33 ms
5,328 KB
testcase_23 AC 33 ms
5,648 KB
testcase_24 AC 33 ms
5,428 KB
testcase_25 AC 33 ms
5,308 KB
testcase_26 AC 33 ms
5,440 KB
testcase_27 AC 34 ms
5,428 KB
testcase_28 AC 33 ms
5,408 KB
testcase_29 AC 33 ms
5,316 KB
testcase_30 AC 13 ms
5,308 KB
testcase_31 AC 20 ms
5,316 KB
testcase_32 AC 26 ms
5,492 KB
testcase_33 AC 5 ms
5,404 KB
testcase_34 AC 28 ms
5,420 KB
testcase_35 AC 15 ms
5,484 KB
testcase_36 AC 10 ms
5,428 KB
testcase_37 AC 13 ms
5,332 KB
testcase_38 AC 32 ms
5,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{
	ll @n, @k;
	vector<Mint> D(3d5);
	D[1d5] = 1;
	rep(n) {
		int @a;
		a -= k;
		auto E = D;
		rep(j, 2d5) if (D[j].val) E[j + a] += D[j];
		D = E;
	}
	Mint A;
	A += D[1d5..2d5];
	wt(A - 1);
}
0