标签:
Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 40000/10000 K (Java/Others)
Total Submission(s): 8041 Accepted Submission(s):
4781
#include<stdio.h> #include<string.h> int main() { int n,m,j,i; while(scanf("%d%d",&n,&m)&&n!=0&&m!=0) { if(n*m&1) printf("What a pity!\n"); else printf("Wonderful!\n"); } return 0; }
标签:
原文地址:http://www.cnblogs.com/tonghao/p/4681299.html