提交时间:2024-01-27 16:20:42
运行 ID: 38532
#include<iostream> using namespace std; int main() { int dis; cin>>dis; float a=50+(dis/3.0); float b=dis/1.2; if(a<b){ cout<<"Bike"; } else if(a==b){ cout<<"All"; } else{ cout<<"Walk"; } }