Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126808 | 葛锦东 | 判断身材 | C++ | Wrong Answer | 1 MS | 272 KB | 284 | 2025-07-21 17:21:44 |
#include <bits/stdc++.h> using namespace std; int main() { int a, b, d; double n;//标准体重 cin >> a >> b; n = a - 100 * 0.9; if (d > n * 1.1) { cout << "fat"; } else if (d < n * 0.9) { cout << "thin"; } else { cout << "standard"; } return 0; }
------Input------
175 70
------Answer-----
standard
------Your output-----
thin