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;
}

水果了,找规律

原文地址:https://www.cnblogs.com/forgood/p/2209048.html