还是错了????????

lyh098 仙辞 2023-12-21 18:45:27 25

#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; }

{{ vote && vote.total.up }}

共 2 条回复

ykj49 Accepted

太简单了

root 站长
7 | double c = (a - 100)0.9;
  |                     ^~~

(a-100) * 0.9 !!!!