結果

問題 No.2711 Connecting Lights
ユーザー 👑 p-adic
提出日時 2024-04-05 17:39:34
言語 cLay
(20241019-1)
結果
AC  
実行時間 127 ms / 5,000 ms
コード長 167 bytes
コンパイル時間 3,572 ms
コンパイル使用メモリ 175,240 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-01 01:23:16
合計ジャッジ時間 5,050 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

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