Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
37647 yuzhengxun 骑车与走路 C++ 通过 0 MS 244 KB 239 2024-01-22 15:24:20

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int l; cin>>l; double b=27.0+23.0+l*1.0/3.0; double w=l*1.0/1.2; if(w>b){ cout<<"Bike"; }else if(b>w){ cout<<"Walk"; }else{ cout<<"All"; } return 0; }


测评信息: