Borderou de evaluare (job #2514138)
Utilizator | Data | 24 decembrie 2019 15:41:40 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: 'vector' does not name a type
vector <int> a[100001], b[100001];
^~~~~~
main.cpp: In function 'void DFS(int)':
main.cpp:17:24: error: 'b' was not declared in this scope
for (int cnt=0;cnt<b[i].size();cnt++) {
^
main.cpp: In function 'void DFSSCC(int)':
main.cpp:30:24: error: 'a' was not declared in this scope
for (int cnt=0;cnt<a[i].size();cnt++) {
^
main.cpp: In function 'int main()':
main.cpp:43:9: error: 'a' was not declared in this scope
a[x].push_back(y);
^
main.cpp:44:9: error: 'b' was not declared in this scope
b[y].push_back(x);
^
main.cpp:71:7: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
s=NULL;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !