Borderou de evaluare (job #3205347)
Utilizator | Data | 19 februarie 2024 13:15:19 | |
---|---|---|---|
Problema | Cerere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'vector' does not name a type
8 | vector <int> L[100003],sort_top;
| ^~~~~~
main.cpp: In function 'void build_sort_top(int, int)':
main.cpp:11:16: error: 'L' was not declared in this scope
11 | for(auto j:L[nod])
| ^
main.cpp:14:5: error: 'sort_top' was not declared in this scope
14 | sort_top.push_back(nod);
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:24:9: error: 'L' was not declared in this scope
24 | L[x].push_back(y);
| ^
main.cpp:29:13: error: 'sort_top' was not declared in this scope
29 | reverse(sort_top.begin(),sort_top.end());
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !