Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
41613 | 陈栋 | 判断身材 | C++ | Accepted | 2 MS | 272 KB | 246 | 2022-11-04 19:32:54 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; double s = (a-100)*0.9; double x = s*1.1; double y = s*0.9; if(b>x) cout<<"fat"; else if(b<y) cout<<"thin"; else cout<<"standard"; return 0; }