hdu 1730 Northcott Game (nim博弈变形)

# include 
# include 
# include 
# include 
# include 
using namespace std;
int main()
{
    int n,m,i,a,b,cot;
    while(~scanf("%d%d",&n,&m))
    {
        cot=0;
        for(i=0; i

你可能感兴趣的:(博弈)