riki1230 @ 2023-01-20 22:06:29
#include <iostream>
using namespace std;
int main(){
long long way;
cin>>way;
double walk=way/1.2;
double bike=50+way/3.0;
if(bike<walk){
cout<<"Wike"<<endl;
}else if(walk<bike){
cout<<"Walk"<<endl;
}else{
cout<<"All"<<endl;
}
return 0;
}
by guozhe6241 @ 2023-01-20 22:08:49
@yuanshanlishu 第9行的Wike是什么?
by riki1230 @ 2023-01-20 22:10:33
@guozhe6241 哦哦哦,我没看到,谢谢谢谢
by riki1230 @ 2023-01-20 22:12:13
@guozhe6241 已经通过了,谢谢