Borderou de evaluare (job #1955883)

Utilizator mag9e2014MAG E 2014 mag9e2014 Data 6 aprilie 2017 12:23:58
Problema Transform2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:20: error: size of array ‘a’ is too large bool a[80000][80000]; ^ user.cpp:6:20: error: size of array ‘b’ is too large bool b[80000][80000]; ^ user.cpp: In function ‘void swapRow(int, int)’: user.cpp:18:12: error: ‘b’ was not declared in this scope if(b[r1][i] != b[r2][i]) ^ user.cpp: In function ‘void swapCol(int, int)’: user.cpp:33:12: error: ‘b’ was not declared in this scope if(b[i][c1] != b[i][c2]) ^ user.cpp: In function ‘void searchV(int, int, int, int)’: user.cpp:49:12: error: ‘b’ was not declared in this scope if(b[i][bj] == 1 && i != bi) ^ user.cpp:51:12: error: ‘a’ was not declared in this scope if(a[i][aj] == 1 && i != ai) ^ user.cpp: In function ‘void searchH(int, int, int, int)’: user.cpp:64:12: error: ‘b’ was not declared in this scope if(b[bi][i] == 1 && i != bj) ^ user.cpp:66:12: error: ‘a’ was not declared in this scope if(a[ai][i] == 1 && i != aj) ^ user.cpp: In function ‘void sortH()’: user.cpp:82:16: error: ‘a’ was not declared in this scope if(a[i][j] != b[i][j]) ^ user.cpp:82:27: error: ‘b’ was not declared in this scope if(a[i][j] != b[i][j]) ^ user.cpp:93:24: error: ‘a’ was not declared in this scope if(a[i][k] != b[j][k]) ^ user.cpp:93:35: error: ‘b’ was not declared in this scope if(a[i][k] != b[j][k]) ^ user.cpp: In function ‘int main()’: user.cpp:117:9: error: ‘a’ was not declared in this scope a[s1-1][s2-1] = true; ^ user.cpp:122:9: error: ‘b’ was not declared in this scope b[s1-1][s2-1] = true; ^ user.cpp:129:12: error: ‘a’ was not declared in this scope if(a[i][0] && A == -1)

Ceva nu functioneaza?