HDU 5794 A Simple Chess (DP+lucas定理)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5794#include<bits/stdc++.h>using namespace std;#define debug puts("YES");#define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++)#define ll lon...