0_0_19224941_1223.cpp: In function 'void change(char&, char&)':
0_0_19224941_1223.cpp:18:40: error: 'row' was not declared in this scope
void change(char &c1, char &c2){ if(row[c1] == row[c2]) c1 = table[row[c1]][col[c1]+1], c2 = table[row[c2]][col[c2]+1]; else if(col[c1] == col[c2]) c1 = table[row[c1]+1][col[c1]], c2 = table[row[c2]+1][col[c2]]; else{
^
0_0_19224941_1223.cpp:18:72: error: 'table' was not declared in this scope
void change(char &c1, char &c2){ if(row[c1] == row[c2]) c1 = table[row[c1]][col[c1]+1], c2 = table[row[c2]][col[c2]+1]; else if(col[c1] == col[c2]) c1 = table[row[c1]+1][col[c1]], c2 = table[row[c2]+1][col[c2]]; else{
^
0_0_19224941_1223.cpp:18:87: error: 'col' was not declared in this scope
void change(char &c1, char &c2){ if(row[c1] == row[c2]) c1 = table[row[c1]][col[c1]+1], c2 = table[row[c2]][col[c2]+1]; else if(col[c1] == col[c2]) c1 = table[row[c1]+1][col[c1]], c2 = table[row[c2]+1][col[c2]]; else{
^
0_0_19224941_1223.cpp:18:142: error: 'col' was not declared in this scope
void change(char &c1, char &c2){ if(row[c1] == row[c2]) c1 = table[row[c1]][col[c1]+1], c2 = table[row[c2]][col[c2]+1]; else if(col[c1] == col[c2]) c1 = table[row[c1]+1][col[c1]], c2 = table[row[c2]+1][col[c2]]; else{
^
0_0_19224941_1223.cpp:18:174: error: 'table' was not declared in this scope
void change(char &c1, char &c2){ if(row[c1] == row[c2]) c1 = table[row[c1]][col[c1]+1], c2 = table[row[c2]][col[c2]+1]; else if(col[c1] == col[c2]) c1 = table[row[c1]+1][col[c1]], c2 = table[row[c2]+1][col[c2]]; else{
^
0_0_19224941_1223.cpp:20:46: error: 'table' was not declared in this scope
int r2 = row[c2], co2 = col[c2]; c1 = table[r1][co2], c2 = table[r2][co1]; }}
^
0_0_19224941_1223.cpp:20:56: error: 'co2' was not declared in this scope
int r2 = row[c2], co2 = col[c2]; c1 = table[r1][co2], c2 = table[r2][co1]; }}
^
0_0_19224941_1223.cpp:20:77: error: 'co1' was not declared in this scope
int r2 = row[c2], co2 = col[c2]; c1 = table[r1][co2], c2 = table[r2][co1]; }}
^
0_0_19224941_1223.cpp: In function 'void update(char, int&, int&)':
0_0_19224941_1223.cpp:23:13: error: 'table' was not declared in this scope
int &y){ table[x][y] = c; row[c] = x; col[c] = y; y++; if(y == 6) x++, y = 1;}
^
0_0_19224941_1223.cpp:23:33: error: 'row' was not declared in this scope
int &y){ table[x][y] = c; row[c] = x; col[c] = y; y++; if(y == 6) x++, y = 1;}
^
0_0_19224941_1223.cpp:23:48: error: 'col' was not declared in this scope
int &y){ table[x][y] = c; row[c] = x; col[c] = y; y++; if(y == 6) x++, y = 1;}
^
0_0_19224941_1223.cpp: In function 'int main()':
0_0_19224941_1223.cpp:25:58: error: 'table' was not declared in this scope
int t; char s[2222]; while(gets(s)){ memset(table, 0, sizeof(table)); memset(row, 0, sizeof(row)); memset(col, 0, sizeof(col));
^
0_0_19224941_1223.cpp:25:98: error: 'row' was not declared in this scope
int t; char s[2222]; while(gets(s)){ memset(table, 0, sizeof(table)); memset(row, 0, sizeof(row)); memset(col, 0, sizeof(col));
^
0_0_19224941_1223.cpp:25:134: error: 'col' was not declared in this scope
int t; char s[2222]; while(gets(s)){ memset(table, 0, sizeof(table)); memset(row, 0, sizeof(row)); memset(col, 0, sizeof(col));
^
|