记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:28: error: 'memset' was not declared in this scope
   memset(f,-127/2,sizeof(f));;
                            ^
/in/foo.cc:19:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
          if(k*c[i]<=j) 
            ^
/in/foo.cc:29:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int j=m-1;j>0;j--)
         ^~~
/in/foo.cc:31:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
           cout<<f[n][k]<<endl;
           ^~~~
/in/foo.cc:38:21: warning: operation on 'l' may be undefined [-Wsequence-point]
            a[--l]=d[--l][k];
                     ^~~

信息

递交者
类型
递交
题目
暗黑破坏神(diablo)
语言
C++
递交时间
2018-02-09 10:53:47
评测时间
2018-02-09 10:53:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes