#include <iostream>
using namespace std;
int main()
{ intM,N;
cin >>M;
cin >>N:
switch ((M*2+D)%3)
{case 0:
cout <<"普通"<<endl;
case 1:
cout <<"吉"<<endl;
case 2:
cout <<"大吉"<<endl;
}
return 0;
}
#include
using namespace std;
int main()
{ intM,N;
cin >>M;
cin >>N:
switch ((M*2+D)%3)
{case 0:
cout <<"普通"<
case 1:
cout <<"吉"<
case 2:
cout <<"大吉"<
}
return 0;
}
改了一些小地方
#include <iostream>
using namespace std;
int main()
{ int M,N,D;
cin>>M;
cin>>N;
switch((M*2+D)%3)
{
case 0:cout <<"普通"<<endl;
case 1:cout <<"吉"<<endl;
case 2:cout <<"大吉"<<endl;
}
return 0;
}