Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
356797 | admin_rjp | 【C1-11】童童上班 | C++ | 通过 | 100 | 3 MS | 248 KB | 275 | 2025-10-18 16:40:41 |
#include <iostream> using namespace std; int main(){ double s; int t1,t2; cin>>s; t1=50+s/3.0; t2=s/1.2; if(t1>t2){ cout<<"Walk"<<endl; } else if(t1<t2){ cout<<"Bike"<<endl; } else{ cout<<"All"<<endl; } return 0; }