Borderou de evaluare (job #1074865)
Utilizator | Data | 8 ianuarie 2014 00:56:25 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:21: error: size of array ‘a’ is too large
int a[100001][100001]; // matricea initiala
^
user.cpp:15:21: error: size of array ‘d’ is too large
int d[100001][100001] = {0}; // drumuri
^
user.cpp:16:22: error: size of array ‘p’ is too large
char p[100001][100001]; //parcurgeri
^
user.cpp: In function ‘void citire()’:
user.cpp:34:22: error: ‘a’ was not declared in this scope
f >> a[i][j];
^
user.cpp: In function ‘void drumuri()’:
user.cpp:51:45: error: ‘a’ was not declared in this scope
if (((v[i].l + 1) <= n) && (a[v[i].l + 1][v[i].c] > v[i].val))
^
user.cpp:53:24: error: ‘d’ was not declared in this scope
d[v[i].l + 1][v[i].c] = d[v[i].l][v[i].c] + 1;
^
user.cpp:61:45: error: ‘a’ was not declared in this scope
if (((v[i].l - 1) >= 1) && (a[v[i].l - 1][v[i].c] > v[i].val))
^
user.cpp:63:24: error: ‘d’ was not declared in this scope
d[v[i].l - 1][v[i].c] = d[v[i].l][v[i].c] + 1;
^
user.cpp:71:45: error: ‘a’ was not declared in this scope
if (((v[i].c + 1) <= n) && (a[v[i].l][v[i].c + 1] > v[i].val))
^
user.cpp:73:24: error: ‘d’ was not declared in this scope
d[v[i].l][v[i].c + 1] = d[v[i].l][v[i].c] + 1;
^
user.cpp:81:45: error: ‘a’ was not declared in this scope
if (((v[i].c - 1) >= 1) && (a[v[i].l][v[i].c - 1] > v[i].val))
^
user.cpp:83:24: error: ‘d’ was not declared in this scope
d[v[i].l][v[i].c - 1] = d[v[i].l][v[i].c] + 1;
^
user.cpp: In function ‘void parcurgere(int&, int&)’:
user.cpp:102:23: error: ‘d’ was not declared in this scope
aux = d[Ll][Lc] - 1;
^
user.cpp:105:25: error: ‘p’ was not declared in this scope
p[Ll - 1][Lc] = 'S';
^
user.cpp:110:25: error: ‘p’ was not declared in this scope
p[Ll + 1][Lc] = 'N';
^
user.cpp:115:25: error: ‘p’ was not declared in this scope
p[Ll][Lc + 1] = 'V';
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !