Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:8:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(x=0) ^ /in/foo.cc:10:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else if(x<0) ^~ /in/foo.cc:12:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return 0; ^~~~~~ /in/foo.cc:4:8: warning: unused variable 'y' [-Wunused-variable] int x,y; ^
信息
- 递交者
- 类型
- 递交
- 题目
- 求函数的值
- 语言
- C++
- 递交时间
- 2018-07-11 16:55:55
- 评测时间
- 2018-07-11 16:55:55
- 评测机
- 分数
- 50
- 总耗时
- 28ms
- 峰值内存
- 384.0 KiB