#21364: a004. WA錯誤:您共輸出 1 行。


justin911121@gmail.com (汀)


請問一下我是錯在哪裡

TKS

 

#include <iostream>

using namespace std;

 

int main()

{

  int M,D,S;

  cin>>M>>D;

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

  switch(S){

    case '0':

      cout<<"普通";

      break;

    case '1':

      cout<<"吉";

      break;

    case '2':

      cout<<"大吉";

      break;

  }

}