hdu 2147 kiki game

#include<iostream>
using namespace std;
int main()
{
 int m,n;
 while(cin>>n>>m)
 {
  if(n==0&&m==0) break;
  if(n*m%2==0) cout<<"Wonderful!"<<endl;
  else cout<<"What a pity!"<<endl;
 }
 return 0;
}

水果了,找规律

posted @ 2011-10-12 20:57  forgood  阅读(129)  评论(0编辑  收藏  举报