题解
2025-01-23 21:56:38
发布于:江苏
5阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int n,x;
cin>>n>>x;
if(n==1){
if(x==1){
cout<<"ZhuFan";
}else if(x==2){
cout<<"HeZhou";
}
}else if(n==2){
if(x==1){
cout<<"XiaoPingGuo";
}else if(x==2){
cout<<"DongFengPo";
}else if(x==3){
cout<<"GiliGliAi";
}
}
return 0;
}
#include<iostream>
using namespace std;
int main(){
int n,x;
cin>>n>>x;
if(n==1){
if(x==1){
cout<<"ZhuFan";
}else{
cout<<"HeZhou";
}
}else{
if(x==1){
cout<<"XiaoPingGuo";
}else if(x==2){
cout<<"DongFengPo";
}else{
cout<<"GiliGliAi";
}
}
return 0;
}
#include<iostream>
using namespace std;
int main(){
int n,x;
cin>>n>>x;
if(n==1){
if(x==1){
cout<<"ZhuFan";
}
if(x==2){
cout<<"HeZhou";
}
}
if(n==2){
if(x==1){
cout<<"XiaoPingGuo";
}
if(x==2){
cout<<"DongFengPo";
}
if(x==3){
cout<<"GiliGliAi";
}
}
return 0;
}
这里空空如也
有帮助,赞一个