Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126812 葛锦东 判断身材 C++ Wrong Answer 0 MS 276 KB 286 2025-07-21 17:24:08

Tests(2/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; }


Run Info:

------Input------
175 70
------Answer-----
standard
------Your output-----
thin