0_0_20431913_14850.cpp:5:86: error: too many initializers for 'bool [11]'
bool arrTable[11] = {0, 1, 0, 0, 2, 10, 4, 40, 92, 352, 724, 2680, 7809, 10831, 43531}, arrRow[30], arrLeft[30], arrRight[30];
^
0_0_20431913_14850.cpp: In function 'void search(const int&, int&)':
0_0_20431913_14850.cpp:15:26: error: invalid types 'bool[int]' for array subscript
if (arrTable[x][i] || arrRow[i] || arrLeft[x-i+n] || arrRight[x+i])
^
0_0_20431913_14850.cpp:17:22: error: invalid types 'bool[int]' for array subscript
arrTable[x][i] = arrRow[i] = arrLeft[x-i+n] = arrRight[x+i] = true;
^
0_0_20431913_14850.cpp:19:22: error: invalid types 'bool[int]' for array subscript
arrTable[x][i] = arrRow[i] = arrLeft[x-i+n] = arrRight[x+i] = false;
^
|