Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116898 | 常钰杰 | 判断身材 | C++ | Accepted | 0 MS | 272 KB | 291 | 2025-04-12 18:30:14 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; double s=(a-100)*0.9; if(b>s*1.1) { cout<<"fat"; } else if(b<s*0.9) { cout<<"thin"; } else { cout<<"standard"; } return 0; }