记录详情

Compile Error

/in/foo.cc:8:13: error: expected primary-expression before ';' token
 const int N=;
             ^
/in/foo.cc:9:19: error: size of array 'a' is not an integral constant-expression
 int n,m,r,c,a[N][N],k[N],d[N];
                   ^
/in/foo.cc:9:19: error: size of array 'a' is not an integral constant-expression
/in/foo.cc:9:24: error: size of array 'k' is not an integral constant-expression
 int n,m,r,c,a[N][N],k[N],d[N];
                        ^
/in/foo.cc:9:29: error: size of array 'd' is not an integral constant-expression
 int n,m,r,c,a[N][N],k[N],d[N];
                             ^
/in/foo.cc:10:12: error: size of array 'dp' is not an integral constant-expression
 int dp[N][N],sum[N][N],ans=0x3f3f3f3f;
            ^
/in/foo.cc:10:12: error: size of array 'dp' is not an integral constant-expression
/in/foo.cc:10:22: error: size of array 'sum' is not an integral constant-expression
 int dp[N][N],sum[N][N],ans=0x3f3f3f3f;
                      ^
/in/foo.cc:10:22: error: size of array 'sum' is not an integral constant-expression
/in/foo.cc:11:11: error: size of array 'vis' is not an integral constant-expression
 bool vis[N];
           ^

信息

递交者
类型
递交
题目
P1006 子矩阵(submatrix)
语言
C++
递交时间
2024-10-12 19:34:11
评测时间
2024-10-12 19:34:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes