Borderou de evaluare (job #1485442)

Utilizator sorin_ol33mpicuSorin Olimpicu sorin_ol33mpicu Data 12 septembrie 2015 14:35:14
Problema NumberOfPaths Status done
Runda Algoritmiada 2015 Runda Finala Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:8: error: expected unqualified-id before ‘[’ token int[190000] lineMap; ^ user.cpp:9:8: error: expected unqualified-id before ‘[’ token int[190000] colMap; ^ user.cpp:12:5: error: expected unqualified-id before ‘[’ token int[31][31] mat; ^ user.cpp: In function ‘int main()’: user.cpp:18:15: error: ‘mat’ was not declared in this scope mat[0][i] = 1; ^ user.cpp:23:17: error: ‘mat’ was not declared in this scope mat[i][j] = mat[i-1][j] + mat[i][j-1]; ^ user.cpp:24:17: error: ‘lineMap’ was not declared in this scope lineMap[mat[i][j]] = i; ^ user.cpp:25:17: error: ‘colMap’ was not declared in this scope colMap[mat[i][j]] = j; ^ user.cpp:36:8: error: ‘pascal’ was not declared in this scope if ( pascal[i] == 1) { closest = i;} ^ user.cpp:39:28: error: ‘lineMap’ was not declared in this scope int line = lineMap[closestKey]; ^ user.cpp:39:36: error: ‘closestKey’ was not declared in this scope int line = lineMap[closestKey]; ^ user.cpp:40:27: error: ‘colMap’ was not declared in this scope int col = colMap[closestKey]; ^ user.cpp:52:24: error: expected unqualified-id before ‘[’ token int[][] sol = new int[line][col + (n * 2)]; ^ user.cpp:57:29: error: ‘sol’ was not declared in this scope sol[ii][jj] = 1; ^ user.cpp:65:37: error: ‘sol’ was not declared in this scope sol[ii][jj] = 1; ^ user.cpp:67:37: error: ‘sol’ was not declared in this scope sol[ii][jj] = 0; ^ user.cpp:70:33: error: ‘sol’ was not declared in this scope sol[ii][jj] = 1; ^ user.cpp:82:35: error: ‘sol’ was not declared in this scope

Ceva nu functioneaza?