2020 Multi-University Training Contest 10 hdu6883 Coin Game(思维题 贪心)
题目多组样例,n(nusingnamespacestd;typedefunsignedlonglongull;typedeflonglongll;constintN=5e6+10,M=15e6+10,mod=1e9+7;constintmx=10000000;ullk1,k2;intt,n,m,a[N],b[N];llans,now;ullxorS(){ullk3=k1,k4=k2;k1=k4;k