| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146079 | 张奕杨 | 判断身材 | C++ | Compile Error | 0 MS | 0 KB | 227 | 2026-01-25 20:34:50 |
#include<bits/stdc++.h> using namespace std; int main(){ int h,w; cin>>h>>w; double z=(h-100)*0.9 if(w>z*1.1) cout<<"fat"; else if(w<z*0.9) cout<<"thin"; else cout<<"standard"; return 0; }
Main.cc: In function 'int main()':
Main.cc:7:5: error: expected ',' or ';' before 'if'
if(w>z*1.1) cout<<"fat";
^
Main.cc:8:5: error: 'else' without a previous 'if'
else if(w