/in/foo.cc: In function 'bool isSidesReliable(int)':
/in/foo.cc:14:29: warning: array subscript has type 'char' [-Wchar-subscripts]
if (pos[matrix[i][1]] != -1 && pos[matrix[i][2]] != -1 && pos[matrix[i][3]] != -1 &&
^
/in/foo.cc:14:56: warning: array subscript has type 'char' [-Wchar-subscripts]
if (pos[matrix[i][1]] != -1 && pos[matrix[i][2]] != -1 && pos[matrix[i][3]] != -1 &&
^
/in/foo.cc:14:83: warning: array subscript has type 'char' [-Wchar-subscripts]
if (pos[matrix[i][1]] != -1 && pos[matrix[i][2]] != -1 && pos[matrix[i][3]] != -1 &&
^
/in/foo.cc:15:29: warning: array subscript has type 'char' [-Wchar-subscripts]
(pos[matrix[i][1]] + pos[matrix[i][2]]) % n != pos[matrix[i][3]] &&
^
/in/foo.cc:15:49: warning: array subscript has type 'char' [-Wchar-subscripts]
(pos[matrix[i][1]] + pos[matrix[i][2]]) % n != pos[matrix[i][3]] &&
^
/in/foo.cc:15:75: warning: array subscript has type 'char' [-Wchar-subscripts]
(pos[matrix[i][1]] + pos[matrix[i][2]]) % n != pos[matrix[i][3]] &&
^
/in/foo.cc:16:29: warning: array subscript has type 'char' [-Wchar-subscripts]
(pos[matrix[i][1]] + pos[matrix[i][2]] + 1) % n != pos[matrix[i][3]])
^
/in/foo.cc:16:49: warning: array subscript has type 'char' [-Wchar-subscripts]
(pos[matrix[i][1]] + pos[matrix[i][2]] + 1) % n != pos[matrix[i][3]])
^
/in/foo.cc:16:79: warning: array subscript has type 'char' [-Wchar-subscripts]
(pos[matrix[i][1]] + pos[matrix[i][2]] + 1) % n != pos[matrix[i][3]])
^
/in/foo.cc: In function 'bool isWeightReliable(int)':
/in/foo.cc:24:30: warning: array subscript has type 'char' [-Wchar-subscripts]
k += pos[matrix[i][1]] + pos[matrix[i][2]];
^
/in/foo.cc:24:50: warning: array subscript has type 'char' [-Wchar-subscripts]
k += pos[matrix[i][1]] + pos[matrix[i][2]];
^
/in/foo.cc:25:29: warning: array subscript has type 'char' [-Wchar-subscripts]
if (pos[matrix[i][3]] != k % n)
^
/in/foo.cc: In function 'void depthFirstSearch(int, int)':
/in/foo.cc:35:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (pos[matrix[1][1]] + pos[matrix[1][2]] >= n)
^
/in/foo.cc:35:45: warning: array subscript has type 'char' [-Wchar-subscripts]
if (pos[matrix[1][1]] + pos[matrix[1][2]] >= n)
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:71:37: warning: array subscript has type 'char' [-Wchar-subscripts]
if (tempVis[matrix[i][j]]) {
^
/in/foo.cc:73:37: warning: array subscript has type 'char' [-Wchar-subscripts]
tempVis[matrix[i][j]] = 0;
^