Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
48124 盛漫妮 判断身材 C++ Accepted 4 MS 276 KB 283 2023-05-19 08:37:34

Tests(3/3):


Code:

#include<iostream> using namespace std; int main(){ int a,b; double c; cin>>a>>b; c=(a-100)*0.9; double cnt1,cnt2,cnt3; cnt1=c*1.1; cnt2=c*0.9; cnt3=b*1.0; if(cnt3>cnt1){ cout<<"fat"; }else if(cnt3<cnt2){ cout<<"thin"; }else{ cout<<"standard"; } return 0; }