top1编程
← 返回题目
题解

【入门】暑期的旅游计划(2)

1 条题解

  • 0
    @ 2026-7-28 22:09:41
    #include <bits/stdc++.h>
    using namespace std;
    
    int main(){
        int x,y,z;
        cin>>x>>y>>z;
        if(x >= 90 || y >= 90 || z >= 90){
        	cout<<"beijing";
    	}else{
    		cout<<"nanjing";
    	}
    }
    
    • 1