Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51599 | 张思存 | 骑车与走路 | C++ | Accepted | 0 MS | 240 KB | 257 | 2024-09-22 21:43:48 |
#include<bits/stdc++.h> using namespace std; int main() { double a,b,w; cin >> a; b=50+a/3; w=a/1.2; if(b>w){ cout<<"Walk"; }if(w==b){ cout<<"All"; }if(b<w){ cout<<"Bike"; } return 0; }