<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.cvbbacm.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.cvbbacm.com/feed.php">
        <title>CVBB ACM Team 2020-2021:teams:alchemist:maxdumbledore:fft_ntt_fwt_ormore</title>
        <description></description>
        <link>https://wiki.cvbbacm.com/</link>
        <image rdf:resource="https://wiki.cvbbacm.com/lib/exe/fetch.php?media=favicon.ico" />
       <dc:date>2026-04-30T07:43:53+0800</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.cvbbacm.com/doku.php?id=2020-2021:teams:alchemist:maxdumbledore:fft_ntt_fwt_ormore:subset_convolution&amp;rev=1589031399&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.cvbbacm.com/lib/exe/fetch.php?media=favicon.ico">
        <title>CVBB ACM Team</title>
        <link>https://wiki.cvbbacm.com/</link>
        <url>https://wiki.cvbbacm.com/lib/exe/fetch.php?media=favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.cvbbacm.com/doku.php?id=2020-2021:teams:alchemist:maxdumbledore:fft_ntt_fwt_ormore:subset_convolution&amp;rev=1589031399&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-05-09T21:36:39+0800</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>2020-2021:teams:alchemist:maxdumbledore:fft_ntt_fwt_ormore:subset_convolution</title>
        <link>https://wiki.cvbbacm.com/doku.php?id=2020-2021:teams:alchemist:maxdumbledore:fft_ntt_fwt_ormore:subset_convolution&amp;rev=1589031399&amp;do=diff</link>
        <description>子集卷积

简介

一般我们有如下一类的状压dp方程，如$dp[i]=\sum dp[j]*w[k]$ ($i,j,k$满足$j\lor k=i,j \land k=0$，这里符号表示按位与和按位或。

如果暴力枚举位的子集，那么效率是$3^n$的，难以承受。

实际上这个已经很接近一个FWT卷积的形式了，只不过是还要$j\land k=0$$j$$k$$i$$dp$$$
dp[cnt_i][i]=\sum_{(j|k)==i}dp[cnt_j][j]*w[cnt_i-cnt_j][k]
$$$cnt_i$$cnt_i$$i$$dp$$w$$cnt$$dp$$dp[cnt_i]$$cnt_i$$dp$$n$$n^2$$O((2^n*n)*n+n^2*2^n)=O(n^2*2^n)$$i|j$$(i|j)+k$$((i|j)+k)\otimes h$…</description>
    </item>
</rdf:RDF>
