hdu 2897简单博弈

#include<stdio.h>
int main() {
    int n,p,q,k;
   while(scanf("%d%d%d",&n,&p,&q)!=EOF) {
    k=n%(p+q);
    if(k<=p&&k!=0)
        printf("LOST ");
    else
        printf("WIN ");
   }
return 0;
}
原文地址:https://www.cnblogs.com/thefirstfeeling/p/4410766.html