标签:
#include<cmath> #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int main() { int n,p,q; int i,j,k; while(scanf("%d%d%d",&n,&p,&q)!=EOF) { if(n%(p+q)<=p&&n%(p+q)!=0) { printf("LOST\n"); } else printf("WIN\n"); } return 0; }
标签:
原文地址:http://www.cnblogs.com/sola1994/p/4743585.html