UVA 11538 : Chess Queen

简单题

#include
#include
using namespace std;

typedef unsigned long long ll;

int main(){
   
    ll n,m;
    while(scanf("%llu%llu",&n,&m)==2&&n&&m){
    	
    	if(n

你可能感兴趣的:(ACM)