Borderou de evaluare (job #1527537)
| Utilizator | Data | 18 noiembrie 2015 11:58:13 | |
|---|---|---|---|
| Problema | Componente biconexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:24: error: ‘x’ was not declared in this scope
scanf("%d%d", &x,&y);
^
user.cpp:33:27: error: ‘y’ was not declared in this scope
scanf("%d%d", &x,&y);
^
user.cpp:38:14: error: variable or field ‘DFS’ declared void
void DFS(start, 0);
^
user.cpp:29:12: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, m, k, lim;
^
user.cpp:29:18: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, m, k, lim;
^
user.cpp:29:21: warning: unused variable ‘lim’ [-Wunused-variable]
int n, i, j, m, k, lim;
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:47:9: error: ‘i’ was not declared in this scope
for(i=0;i<v[u].size();++i) {
^
user.cpp:44:12: warning: unused variable ‘px’ [-Wunused-variable]
int x, px;
^
user.cpp: In function ‘void afisCompBiconexa(int, int)’:
user.cpp:70:5: error: expected initializer before ‘p’
p = S.top();
^
user.cpp:74:24: error: ‘p’ was not declared in this scope
printf("%d%d", p.first, p.second);
^
user.cpp:77:14: error: ‘p’ was not declared in this scope
} while (p.first != u && p.second != x);
^
user.cpp: In function ‘int main()’:
user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
