Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
40230 | 王子诺 | 判断身材 | C++ | Accepted | 1 MS | 276 KB | 220 | 2022-10-14 22:10:05 |
#include<iostream> using namespace std; int main(){ int a,b,c;cin>>a>>b; c=(a-100)*0.9; if(b>c*1.1)cout<<"fat"; else if(b<c*0.9)cout<<"thin"; else{ cout<<"standard"; }return 0; }