Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
24287 | 老方 | 骑车与走路 | C++ | Accepted | 0 MS | 244 KB | 236 | 2023-08-10 12:56:07 |
#include<bits/stdc++.h> using namespace std; int main(){ float n; cin>>n; if (n/3.0+50<n/1.2) cout<<"Bike"; else if (n-50/3.0>n/1.2) cout<<"Walk"; else cout<<"All"; return 0; }