#include <bits/stdc++.h> using namespace std; int main() { double a, b; cin >> a >> b; double c = (a - 100)0.9; if (b > c * 1.1) cout << "fat"; else if (b < c * 0.9) cout << "thin"; else cout << "standard"; return 0; }
太简单了
7 | double c = (a - 100)0.9; | ^~~
(a-100) * 0.9 !!!!
共 2 条回复
太简单了
(a-100) * 0.9 !!!!