Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
27910 yuhengyang 骑车与走路 C++ 通过 0 MS 244 KB 232 2023-10-09 21:10:17

Tests(1/1):


#include<iostream> #include<cstdio> #include<bits/stdc++.h> using namespace std; int main() { int w,b,a; cin>>a; w=a/1.2; b=50+a/3.0; if(b>w)cout<<"Walk"; else if(w>b)cout<<"Bike"; else cout<<"All"; return 0; }


测评信息: