0_0_36759819_5932.cpp:17:20: error: expected ']' before '[' token
double lens[[MAX_N][[MAX_N], diss[MAX_NUM];//¿Óѽ£¬¾ÓÈ»Íü¼ÇN*NÁË
^
0_0_36759819_5932.cpp: In member function 'int Dancing_Links_X::leave()':
0_0_36759819_5932.cpp:71:18: error: 'MAXSIZE' was not declared in this scope
bool vis[MAXSIZE]; memset(vis, false, sizeof vis);
^
0_0_36759819_5932.cpp:71:35: error: 'vis' was not declared in this scope
bool vis[MAXSIZE]; memset(vis, false, sizeof vis);
^
0_0_36759819_5932.cpp: In function 'bool check(int)':
0_0_36759819_5932.cpp:108:23: error: invalid types 'double[int]' for array subscript
if (lens[i][j] <= diss[mid])
^
0_0_36759819_5932.cpp:108:31: error: 'diss' was not declared in this scope
if (lens[i][j] <= diss[mid])
^
0_0_36759819_5932.cpp: In function 'void solve()':
0_0_36759819_5932.cpp:122:19: error: invalid types 'double[int]' for array subscript
lens[i][j] = dis(i, j);
^
0_0_36759819_5932.cpp:123:13: error: 'diss' was not declared in this scope
diss[size++] = lens[i][j];
^
0_0_36759819_5932.cpp:123:34: error: invalid types 'double[int]' for array subscript
diss[size++] = lens[i][j];
^
0_0_36759819_5932.cpp:125:10: error: 'diss' was not declared in this scope
sort(diss, diss + size);
^
|