Borderou de evaluare (job #2927040)
Utilizator | Data | 19 octombrie 2022 11:01:36 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:21:67: error: array bound is not an integer constant before ']' token
21 | void tareConex(int nod, int &ind, stack<int> &stiv, vertex v[n + 1], vector<vector<int>> &listaAdiacenta) {
| ^
main.cpp:21:68: error: expected ')' before ',' token
21 | void tareConex(int nod, int &ind, stack<int> &stiv, vertex v[n + 1], vector<vector<int>> &listaAdiacenta) {
| ~ ^
| )
main.cpp:21:90: error: invalid declarator before '&' token
21 | void tareConex(int nod, int &ind, stack<int> &stiv, vertex v[n + 1], vector<vector<int>> &listaAdiacenta) {
| ^
main.cpp: In function 'int main()':
main.cpp:71:14: error: 'sort' is not a member of 'std'
71 | std::sort(it.begin(), it.end());
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !