Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
40619 王shizhao 骑车与走路 C++ 通过 0 MS 244 KB 222 2024-02-14 20:21:40

Tests(1/1):


#include<iostream> using namespace std; int main() { int dis; cin>>dis; float a=50+(dis/3.0); float b=dis/1.2; if(a<b){ cout<<"Bike"; } else if(a==b){ cout<<"All"; } else{ cout<<"Walk"; } }


测评信息: