Borderou de evaluare (job #3254539)
Utilizator | Data | 7 noiembrie 2024 19:36:55 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:30:5: error: 'out' was not declared in this scope; did you mean 'fout'?
30 | out<<nrc;
| ^~~
| fout
main.cpp: In function 'void citire()':
main.cpp:36:9: warning: unused variable 'm' [-Wunused-variable]
36 | int m,i,x,y;
| ^
main.cpp:36:11: warning: unused variable 'i' [-Wunused-variable]
36 | int m,i,x,y;
| ^
main.cpp: In function 'void dfs(int)':
main.cpp:49:20: error: invalid use of member function 'constexpr std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; size_type = long unsigned int]' (did you forget the '()' ?)
49 | for(i=0;i<A[x].size;i++)
| ~~~~~^~~~
| ()
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !