2 1000 1 1 100
Lose Win
#include<cstdio> #include<cstdlib> #include<cstring> using namespace std; int main() { int k,n,m; scanf("%d",&k); while(k--){ scanf("%d%d",&n,&m); if(n%(m+1)==0){ printf("Lose\n"); } else printf("Win\n"); } return 0; }
原文地址:http://blog.csdn.net/r1986799047/article/details/42712437