Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
30768 黄雯 判断身材 C++ Accepted 3 MS 728 KB 266 2022-07-16 15:56:21

Tests(3/3):


Code:

#include<iostream> using namespace std; int main(){ int n,m,num=0; cin >> n >> m; num = (n-100)*0.9; if(m>num*1.1){ cout << "fat" << endl; }else if(m<num*0.9){ cout << "thin" << endl; }else{ cout << "standard" << endl; } return 0; }