#7035: 狂錯耶==


rosephilip (外星人)


#include<iostream>
using namespace std;
int main ()
{
        int M,D,S;
        while(cin >> M >> D )
        {
       S=(M*2+D)%3
       if(S==0)
       cout << "普通" ;
       if else(S==1)
       cout << "吉"  ;
       else
       cout << "大吉" ;
        } 
  
    return 0;
#7038: Re:狂錯耶==


akira0331 (小迷糊)


#include
using namespace std;
int main ()
{
        int M,D,S;
        while(cin >> M >> D )
        {
       S=(M*2+D)%3
       if(S==0)
       cout << "普通" ;
       if else(S==1)
       cout << "吉"  ;
       else
       cout << "大吉" ;
        } 
  
    return 0;


沒有看到換行 << endl, 全部連在一起電腦無法測試