/ Vijos /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:14:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (a[0] != 0)
      ^
/in/foo.c:37:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (a[n-1] != 0)
      ^
/in/foo.c:44:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (a[n] != 0);
   ^~
/in/foo.c:45:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(a[n]>0)
    ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer 1ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 212.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Wrong Answer 2ms 256.0 KiB
#8 Wrong Answer 1ms 208.0 KiB
#9 Wrong Answer 1ms 256.0 KiB
#10 Wrong Answer 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1812 多项式输出
语言
C
递交时间
2018-07-20 17:39:41
评测时间
2018-07-20 17:39:41
评测机
分数
50
总耗时
19ms
峰值内存
256.0 KiB