求助!5测试点中4WA!
查看原帖
求助!5测试点中4WA!
995569
L__B楼主2023/12/3 12:38
#include<bits/stdc++.h>
using namespace std;
double n,w,b;
int main(){
    scanf("%lf",&n);
    w=n/1.2;
    b=n/3.0+50.0;
    if(w>b) printf("Walk");
    else if(b>w) printf("Bike");
    else printf("All");
    return 0;
}
2023/12/3 12:38
加载中...