记录详情

Runtime Error

/in/foo.cc: In function 'int* Calculate(Bigint&)':
/in/foo.cc:18:7: warning: address of local variable 'a' returned [-Wreturn-local-addr]
   int a[10000]={0};
       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (i=0;a[i]>0;i++);
   ^~~
/in/foo.cc:47:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    i--;
    ^
/in/foo.cc:48:9: warning: statement has no effect [-Wunused-value]
   for (i;i>=0;i--)
         ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 200.0 KiB
#2 Runtime Error 1ms 200.0 KiB
#3 Runtime Error 1ms 208.0 KiB
#4 Runtime Error 1ms 200.0 KiB
#5 Runtime Error 1ms 204.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2019-04-12 23:03:16
评测时间
2019-04-12 23:03:16
评测机
分数
0
总耗时
8ms
峰值内存
208.0 KiB