re代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
float m,t1,t2;
cin>>m;
t1 = m/1.2;
t2 = 50+m/3.0;
if(t1<t2) cout<<"Walk"<<endl;
else if(t1>t2)cout<<"Bike"<<endl;
else cout<<"All"<<endl;
return 0;
}
”