Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
30365 | lmz120809 | 骑车与走路 | C++ | Accepted | 0 MS | 244 KB | 278 | 2023-11-07 20:38:52 |
#include<iostream> using namespace std; int main() { int a; cin>>a; double b,w; b=a/3.0+23+27; w=a/1.2; if(b==w){ cout<<"All"; } else if(b<w){ cout<<"Bike"; } else { cout<<"Walk"; } return 0; }