Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
33654 | wxh | 【入门】骑车与走路 | C++ | 解答错误 | 0 MS | 248 KB | 244 | 2023-12-31 08:53:24 |
#include<bits/stdc++.h> using namespace std; int main(){ int x; float a,b; cin>>x; a+50+x/3.0; b=x/1.2; if(a==b){ cout<<"All"<<endl; } if(a<b){ cout<<"Bike"<<endl; } if(a>b){ cout<<"Walk"<<endl; } return 0; }