close

【題目】 https://zerojudge.tw/ShowProblem?problemid=a003


【C】


【C++】


【Python】

import sys
for line in sys.stdin:
    M,D=line.split()
    M,D=int(M),int(D)
    S=(M*2+D)%3
    if S==0:
        print("普通")
    elif S==1:
        print("吉")
    else:
        print("大吉")

 

arrow
arrow
    創作者介紹
    創作者 jane8366608 的頭像
    jane8366608

    Jane的部落格

    jane8366608 發表在 痞客邦 留言(0) 人氣()