#27300: C++版本(AC~~~)


Ivan20092009 (cloveت)

學校 : 臺北市私立延平高級中學
編號 : 167374
來源 : [210.70.131.254]
最後登入時間 :
2025-01-02 10:24:26
a003. 兩光法師占卜術 | From: [203.72.178.1] | 發表日期 : 2021-09-23 17:38

#include<iostream>

using namespace std;

 

int main()

 

{

 

int M,D,S;

    while(cin>>M>>D)

{

 

S=(M*2+D)%3;

if(S==0)

cout<<"普通"<<endl;

else if(S==1)

cout<<"吉"<<endl;

else if(S==2)

cout<<"大吉" <<endl; 

}

return 0;

 

 

 

 

}

 
ZeroJudge Forum