运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
633045 hiqiu 1017 - 预测身高 编译错误 0 0 MS 0 KB C++ 592 1个月前
暂时无法获取本题测试点详情。

Main.cc: In function 'int main()':
Main.cc:15:15: warning: comparison with string literal results in unspecified behavior [-Waddress]
15 | if (gender == "M") {
| ~~~~~~~^~~~~~
Main.cc:15:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:20:22: warning: comparison with string literal results in unspecified behavior [-Waddress]
20 | if ( loveExercise == "Y") {
| ~~~~~~~~~~~~~^~~~~~
Main.cc:20:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:23:8: error: 'goodDeal' was not declared in this scope; did you mean 'goodDear'?
23 | if (goodDeal == "Y") {
| ^~~~~~~~
| goodDear