运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
607218 Long 1007 - 体型判断 编译错误 0 0 MS 0 KB C 255 4个月前
暂时无法获取本题测试点详情。

Main.c: In function 'main':
Main.c:6:13: warning: format '%f' expects argument of type 'float *', but argument 2 has type 'double' [-Wformat=]
6 | scanf("%f%f",h,w);
| ~^ ~
| | |
| | double
| float *
Main.c:6:15: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'double' [-Wformat=]
6 | scanf("%f%f",h,w);
| ~^ ~
| | |
| | double
| float *
Main.c:10:15: warning: comparison of constant '25' with boolean expression is always true [-Wbool-compare]
10 | else(18<=t<25)
| ^
Main.c:10:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
10 | else(18<=t<25)
| ~~^~~
Main.c:10:9: warning: statement with no effect [-Wunused-value]
10 | else(18<=t<25)
| ^
Main.c:10:19: error: expected ';' before 'puts'
10 | else(18<=t<25)
| ^
| ;
11 | puts("normal");
| ~~~~
Main.c:12:5: error: 'else' without a previous 'if'
12 | else(25<=t<27)
| ^~~~
Main.c:12:15: warning: comparison of constant '27' with boolean expression is always true [-Wbool-compare]
12 | else(25<=t<27)
| ^
Main.c:12:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
12 | else(25<=t<27)
| ~~^~~
Main.c:12:9: warning: statement with no effect [-Wunused-value]
12 | else(25<=t<27)
| ^
Main.c:12:19: error: expected ';' before 'puts'
12 | else(25<=t<27)
| ^
| ;
13 | puts("obese");
| ~~~~