#9141: VC++ 一直輸出吉


zxc8976 (拘束)


#include <iostream>


using namespace std;
int main()
{
int M;
int D;
int S;
while( cin>>M){

   
cin>>D;
S=(M*2+D)%3;
if(S=0)
cout<<"普通"<<endl;
else if(S=1)
cout<<"吉"<<endl;
    else
cout<<"大吉"<<endl;




}


   return 0;
}
#9241: Re:VC++ 一直輸出吉


hugo8642612 (Hugowwwwwww)


#include


using namespace std;
int main()
{
int M;
int D;
int S;
while( cin>>M){

   
cin>>D;
S=(M*2+D)%3;
if(S==0)
cout<<"普通"<
else if(S==1)
cout<<"吉"<
    else
cout<<"大吉"<




}


   return 0;
}