Borderou de evaluare (job #1485438)
Utilizator | Data | 12 septembrie 2015 14:34:12 | |
---|---|---|---|
Problema | NumberOfPaths | Status | done |
Runda | Algoritmiada 2015 Runda Finala Seniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:8: error: expected unqualified-id before ‘[’ token
int[190000] lineMap;
^
user.cpp:11:8: error: expected unqualified-id before ‘[’ token
int[190000] colMap;
^
user.cpp:14:5: error: expected unqualified-id before ‘[’ token
int[31][31] mat;
^
user.cpp:16:15: error: ‘mat’ was not declared in this scope
mat[0][i] = 1;
^
user.cpp:21:17: error: ‘mat’ was not declared in this scope
mat[i][j] = mat[i-1][j] + mat[i][j-1];
^
user.cpp:22:17: error: ‘lineMap’ was not declared in this scope
lineMap[mat[i][j]] = i;
^
user.cpp:23:17: error: ‘colMap’ was not declared in this scope
colMap[mat[i][j]] = j;
^
user.cpp:34:8: error: ‘pascal’ was not declared in this scope
if ( pascal[i] == 1) { closest = i;}
^
user.cpp:37:28: error: ‘lineMap’ was not declared in this scope
int line = lineMap[closestKey];
^
user.cpp:37:36: error: ‘closestKey’ was not declared in this scope
int line = lineMap[closestKey];
^
user.cpp:38:27: error: ‘colMap’ was not declared in this scope
int col = colMap[closestKey];
^
user.cpp:50:24: error: expected unqualified-id before ‘[’ token
int[][] sol = new int[line][col + (n * 2)];
^
user.cpp:55:29: error: ‘sol’ was not declared in this scope
sol[ii][jj] = 1;
^
user.cpp:63:37: 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] = 0;
^
user.cpp:68:33: error: ‘sol’ was not declared in this scope
sol[ii][jj] = 1;
^
user.cpp:80:35: error: ‘sol’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !