#include"stdio.h" int main( ) { int n,m; while(scanf("%d%d",&n,&m)&&(n!=0||m!=0)) { if(n%2==0||m%2==0) printf("Wonderful!\n"); else printf("What a pity!\n"); } return 0; }
这题我没交 感觉有点水吧。。。记下来 复习看看 https://cn.vjudge.net/problem/HDU-2147
只有再行和列都为奇数时 先手才赢