运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
643840 | Y1614824396_fdsf | 1007 - 体型判断 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 318 | 14天前 |
Main.cc: In function 'int main()':
Main.cc:9:20: error: 'underweight' was not declared in this scope
9 | if(t<18) cout<<underweight<<endl;
| ^~~~~~~~~~~
Main.cc:10:32: error: 'normal' was not declared in this scope
10 | else if(t>=18&&t<25) cout<<normal<<endl;
| ^~~~~~
Main.cc:11:32: error: 'overweight' was not declared in this scope
11 | else if(t>=25&&t<27) cout<<overweight<<endl;
| ^~~~~~~~~~
Main.cc:12:16: error: 'obese' was not declared in this scope
12 | else cout<<obese<<endl;
| ^~~~~