#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int n,p,q;
int tmp;
while(cin>>n>>p>>q)
{
if(n%(q+p)==0)
cout<<"WIN"<<endl;
else
{
tmp=n%(p+q);
if(tmp<=p)
cout<<"LOST"<<endl;
else
cout<<"WIN"<<endl;
}
}
return 0;
}
hdu 2897 巴什博弈裸题
最新推荐文章于 2020-10-07 20:27:43 发布