NYOJ23取石子(一)

 1 #include<iostream>
 2 using namespace std;
 3 int main()
 4 {
 5     int T,m,n;
 6     cin>>T;
 7     while(T--)
 8     {
 9         cin>>n>>m;
10         if(n%(m+1))   cout<<"Win"<<endl;
11         else   cout<<"Lose"<<endl;
12     }
13     return 0;
14 } 

posted on 2012-08-02 16:23  mycapple  阅读(194)  评论(0)    收藏  举报

导航