提交时间:2023-12-02 12:13:12

运行 ID: 32670

#include <iostream> using namespace std; int main() { double x,b,w; cin>>x; w=x/1.2; b=x/3+(0.27+0.23); if(w<b) { cout<<"Walk"; } else if(w>b) { cout<<"Bike"; } else { cout<<"All"; } return 0; }