1 solutions

  • 0
    @ 2024-7-27 16:53:07
    #include<stdio.h>
    int main(){
        double d;
        scanf("%lf",&d);
        double x,y;
        x=d/1.2;
        y=d/3+23+27;
        if(x>y){
            printf("Bike");
        }
        else if(x<y){
            printf("Walk");
        }
        else if(x==y){
        	printf("All");
    	}
        return 0;
    }
    
    • 1

    Information

    ID
    6730
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    7
    Tags
    (None)
    # Submissions
    327
    Accepted
    88
    Uploaded By