A720.贪玩小码
2024-12-30 17:09:00
发布于:江苏
1阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int M,D;
cin>>M>>D;
switch(M){
case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
if (D%2==1){
cout<<"Play!";
}
else{
cout<<"Oh!No!";
}
break;
default:
if (D%2==1){
cout<<"Oh!No!";
}
else{
cout<<"Play!";
}
}
return 0;
}
这里空空如也
有帮助,赞一个