提交时间:2024-09-06 20:38:18
运行 ID: 50668
#include<bits/stdc++.h>//万能头文件 using namespace std; int main() { bool isgreenlight,isothercrossing,car_num; cin>>isgreenlight>>isothercrossing>>car_num; if(!isgreenlight) cout<<"按按钮"; if(isothercrossing) cout<<"提醒"; else if(car_num==0) cout<<"过马路"; else cout<<"等等"; return 0; }