Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
33566 HJH的爸爸 【入门】骑车与走路 C++ 通过 0 MS 248 KB 236 2023-12-30 16:21:09

Tests(20/20):


#include<bits/stdc++.h> using namespace std; int main(){ int n; float che=0,zou=0; cin>>n; che=n/3.0+50; zou=n/1.2; if(che>zou){ cout<<"Walk"; } else if(zou>che){ cout<<"Bike"; } else{ cout<<"All"; } }


测评信息: