Borderou de evaluare (job #1134200)
| Utilizator | Data | 6 martie 2014 10:28:23 | |
|---|---|---|---|
| Problema | Componente biconexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:5:16: error: ‘nmax’ was not declared in this scope
vector <int> g[nmax];
^
user.cpp:7:9: error: ‘nmax’ was not declared in this scope
int niv[nmax];
^
user.cpp:8:9: error: ‘nmax’ was not declared in this scope
int low[nmax];
^
user.cpp:9:10: error: ‘nmax’ was not declared in this scope
bool viz[nmax];
^
user.cpp: In function ‘void afisaza(int)’:
user.cpp:13:2: error: ‘viz’ was not declared in this scope
viz[start] = true;
^
user.cpp:15:37: error: ‘g’ was not declared in this scope
for (vector <int> :: iterator it = g[start].begin();it != g[start].end();it++) {
^
user.cpp: In function ‘int dfs(int)’:
user.cpp:21:2: error: ‘viz’ was not declared in this scope
viz[start] = true;
^
user.cpp:22:15: error: ‘nmax’ was not declared in this scope
int lowest = nmax+1;
^
user.cpp:23:37: error: ‘g’ was not declared in this scope
for (vector <int> :: iterator it = g[start].begin();it != g[start].end();it++) {
^
user.cpp:25:26: error: ‘niv’ was not declared in this scope
lowest = minim(lowest,niv[*it]);
^
user.cpp:25:34: error: ‘minim’ was not declared in this scope
lowest = minim(lowest,niv[*it]);
^
user.cpp:29:3: error: ‘niv’ was not declared in this scope
niv[*it] = niv[start] +1;
^
user.cpp:30:3: error: ‘low’ was not declared in this scope
low[start] = dfs(*it);
^
user.cpp: In function ‘int main()’:
user.cpp:42:3: error: ‘g’ was not declared in this scope
g[a].push_back(b);
^
user.cpp:45:2: error: ‘niv’ was not declared in this scope
niv[1] = 1;
^
user.cpp:49:38: error: ‘g’ was not declared in this scope
for (vector <int> :: iterator it = g[i].begin();it != g[i].end();it++) {
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
