20分求助!
查看原帖
20分求助!
1475535
boneey楼主2024/11/11 17:57
#include <bits/stdc++.h>
using namespace std;
int main(){
    int s;
    cin >> s;
    if((s / 1.2) == (s / 3.0) + 50) cout << "All" << endl;
    else if((s / 1.2) > (s / 3.0) + 50) cout << "Walk" << endl;
    else cout << "Bike" << endl;
    return 0;
}
2024/11/11 17:57
加载中...