Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
36991 fuhaoze 骑车与走路 C++ 通过 0 MS 244 KB 285 2024-01-18 15:35:13

Tests(1/1):


#include<iostream> using namespace std; int main(){ int n,n2,z,q,ql,zl,l; float a=3.0,b=1.2; cin>>l; ql=23+27+l/a; zl=l/b; if(ql==zl){ cout<<"All"; } else { if(ql<zl){ cout<<"Bike"; } else{ if(zl<ql){ cout<<"Walk"; } } } return 0; }


测评信息: