记录详情

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;
        ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 360.0 KiB
#2 Wrong Answer 2ms 380.0 KiB
#3 Wrong Answer 3ms 256.0 KiB
#4 Wrong Answer 3ms 340.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 2ms 344.0 KiB
#7 Wrong Answer 2ms 272.0 KiB
#8 Accepted 3ms 376.0 KiB
#9 Accepted 2ms 380.0 KiB
#10 Accepted 3ms 376.0 KiB

信息

递交者
类型
递交
题目
求函数的值
语言
C++
递交时间
2018-07-11 16:55:55
评测时间
2018-07-11 16:55:55
评测机
分数
50
总耗时
28ms
峰值内存
384.0 KiB