Borderou de evaluare (job #1519089)
Utilizator | Data | 6 noiembrie 2015 20:03:07 | |
---|---|---|---|
Problema | Pseudobil | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:10: error: ‘NMax’ was not declared in this scope
bool a[2*NMax-1][2*NMax-1];
^
user.cpp:10:20: error: ‘NMax’ was not declared in this scope
bool a[2*NMax-1][2*NMax-1];
^
user.cpp:11:10: error: ‘NMax’ was not declared in this scope
int nr[2*NMax-1][2*NMax-1];
^
user.cpp:11:20: error: ‘NMax’ was not declared in this scope
int nr[2*NMax-1][2*NMax-1];
^
user.cpp: In function ‘int main()’:
user.cpp:18:23: error: ‘a’ was not declared in this scope
in >> x >> y, a[x+y-1][n-x+y] = 1;
^
user.cpp:22:13: error: ‘nr’ was not declared in this scope
nr[i][j] = nr[i-1][j] + nr[i][j-1] - nr[i-1][j-1] + a[i][j];
^
user.cpp:22:65: error: ‘a’ was not declared in this scope
nr[i][j] = nr[i-1][j] + nr[i][j-1] - nr[i-1][j-1] + a[i][j];
^
user.cpp:36:19: error: ‘nr’ was not declared in this scope
sol = nr[x1+D][y1] - nr[x1+D][y1-D-1] - nr[x1-1][y1] + nr[x1-1][y1-D-1];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !