12 条题解
- 
  3
#include <bits/stdc++.h> #include <iostream> #include <iomanip> #include <cmath> #include <math.h> #include <algorithm> #include <cstring> using namespace std; const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; int main() { float b , r = 3.0 , w , f = 1.2 , m; cin >> m; b = m / r + 50; w = m / f; if( b > w ) { cout << "Walk" << endl; } else if( b < w ) { cout << "Bike" << endl; } else { cout << "All" << endl; } return 0; } 
信息
- ID
 - 874
 - 时间
 - 1000ms
 - 内存
 - 128MiB
 - 难度
 - 7
 - 标签
 - 递交数
 - 2250
 - 已通过
 - 516
 - 上传者