Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
33629 | 大J8(小黑子的爸爸) | 【入门】骑车与走路 | C++ | 通过 | 0 MS | 248 KB | 221 | 2023-12-31 08:32:11 |
#include<bits/stdc++.h> using namespace std; int a;double b,c; int main() { cin>>a; b=a/1.2; c=a/3.0+27.0+23.0; if(c>b) cout<<"Walk"; else if(b>c) cout<<"Bike"; else cout<<"All"; }