//骑车 27 + 23 + x / 3 //走路 x / 1.2 #include <bits/stdc++.h> using namespace std; int main() { double x; cin >> x; if ( (27+23+(x/3)) < (x/1.2) ) { cout << "Bike"; } else if ( (27+23+(x/3)) == (x/1.2) ) { cout << "All"; } else { cout << "Walk"; } return 0; }
微信直接扫码登录
使用经过邮箱注册的账号密码登录