Borderou de evaluare (job #1131371)
Utilizator | Data | 28 februarie 2014 19:43:39 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void border()’:
user.cpp:9:19: error: ‘n’ was not declared in this scope
for (int i=0; i<=n+1;i++)
^
user.cpp:10:4: error: ‘a’ was not declared in this scope
a[0][i] = a[i][0] = a[n+1][i] = a[i][n+1] = -1;
^
user.cpp: In function ‘void LEE()’:
user.cpp:16:16: error: ‘n’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:18:12: error: ‘a’ was not declared in this scope
if (a[i][j] == pas) {
^
user.cpp: In function ‘int main()’:
user.cpp:42:27: warning: unused variable ‘t’ [-Wunused-variable]
int a[251][251],n, i, j, t, z, nr=0;
^
user.cpp:42:30: warning: unused variable ‘z’ [-Wunused-variable]
int a[251][251],n, i, j, t, z, nr=0;
^
user.cpp:42:33: warning: unused variable ‘nr’ [-Wunused-variable]
int a[251][251],n, i, j, t, z, nr=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !