Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126807 葛锦东 判断身材 C++ Presentation Error 1 MS 272 KB 286 2025-07-21 17:21:13

Tests(1/3):


Code:

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