Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
27654 唐心 判断身材 C++ Accepted 2 MS 728 KB 275 2022-06-07 18:01:37

Tests(3/3):


Code:

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