/ 大熊 /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:36:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int k=x[i];k<=n;k++)
    ^~~
/in/foo.cc:38:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     a[n][m]=temp;
     ^
/in/foo.cc:14:20: warning: unused variable 'k' [-Wunused-variable]
  int n,m,p,tot=0,j,k,temp=0,i;
                    ^
/in/foo.cc:14:22: warning: unused variable 'temp' [-Wunused-variable]
  int n,m,p,tot=0,j,k,temp=0,i;
                      ^~~~
/in/foo.cc:24:7: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ++i;
       ^
/in/foo.cc:21:6: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ++j;
      ^
# 状态 耗时 内存占用
#1 Runtime Error 3ms 360.0 KiB
#2 Runtime Error 3ms 384.0 KiB
#3 Runtime Error 4ms 380.0 KiB
#4 Runtime Error 3ms 368.0 KiB
#5 Runtime Error 4ms 380.0 KiB
#6 Runtime Error 3ms 384.0 KiB
#7 Wrong Answer 4ms 336.0 KiB
#8 Runtime Error 4ms 256.0 KiB
#9 Wrong Answer 3ms 208.0 KiB
#10 Wrong Answer 2ms 204.0 KiB
#11 Runtime Error 3ms 208.0 KiB
#12 Runtime Error 3ms 348.0 KiB
#13 Runtime Error 4ms 368.0 KiB
#14 Runtime Error 2ms 384.0 KiB
#15 Wrong Answer 3ms 372.0 KiB
#16 Runtime Error 3ms 372.0 KiB
#17 Runtime Error 3ms 384.0 KiB
#18 Runtime Error 3ms 384.0 KiB
#19 Wrong Answer 2ms 372.0 KiB
#20 Runtime Error 3ms 384.0 KiB

信息

递交者
类型
递交
题目
phalanx
语言
C++
递交时间
2017-11-21 20:00:09
评测时间
2017-11-21 20:00:09
评测机
分数
0
总耗时
70ms
峰值内存
384.0 KiB