2022 China Collegiate Programming Contest (CCPC) Mianyang Onsite
A.BanorPick,What’stheTrick记dpdpdp状态为dp[i][j][k]dp[i][j][k]dp[i][j][k],为在第iii轮,A变了jjj次,B变了kkk次,然后直接开始搜索#includeusingnamespacestd;typedeflonglongll;typedefunsignedlonglongull;typedefpairpii;constintMX=2