結果

問題 No.2711 Connecting Lights
ユーザー 👑 p-adicp-adic
提出日時 2024-04-05 17:39:34
言語 cLay
(20240104-1)
結果
AC  
実行時間 127 ms / 5,000 ms
コード長 167 bytes
コンパイル時間 3,384 ms
コンパイル使用メモリ 175,564 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2024-04-05 17:39:39
合計ジャッジ時間 5,233 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,548 KB
testcase_01 AC 2 ms
6,548 KB
testcase_02 AC 2 ms
6,548 KB
testcase_03 AC 2 ms
6,548 KB
testcase_04 AC 2 ms
6,548 KB
testcase_05 AC 3 ms
6,548 KB
testcase_06 AC 2 ms
6,548 KB
testcase_07 AC 2 ms
6,548 KB
testcase_08 AC 3 ms
6,548 KB
testcase_09 AC 72 ms
6,548 KB
testcase_10 AC 60 ms
6,548 KB
testcase_11 AC 107 ms
6,548 KB
testcase_12 AC 26 ms
6,548 KB
testcase_13 AC 28 ms
6,548 KB
testcase_14 AC 4 ms
6,548 KB
testcase_15 AC 15 ms
6,548 KB
testcase_16 AC 3 ms
6,548 KB
testcase_17 AC 3 ms
6,548 KB
testcase_18 AC 5 ms
6,548 KB
testcase_19 AC 86 ms
6,548 KB
testcase_20 AC 30 ms
6,548 KB
testcase_21 AC 3 ms
6,548 KB
testcase_22 AC 2 ms
6,548 KB
testcase_23 AC 2 ms
6,548 KB
testcase_24 AC 48 ms
6,548 KB
testcase_25 AC 57 ms
6,548 KB
testcase_26 AC 120 ms
6,548 KB
testcase_27 AC 120 ms
6,548 KB
testcase_28 AC 127 ms
6,548 KB
testcase_29 AC 124 ms
6,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
ll@N,@M,@K,p=1<<N;Mint D[p][M]{};*D[0..p-1]=1;rep(m,1,M)rep(s,p)rep(t,p)D[t][m]+=D[s][m-1]*(__builtin_popcount(s&t)>=K);wt(sum[s,0,p](D[s][M-1]));
0