Borderou de evaluare (job #2874147)
Utilizator | Data | 19 martie 2022 13:01:23 | |
---|---|---|---|
Problema | Concurs | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:19:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(i=0;i<adj[curr].size();i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:9: error: 'fre' was not declared in this scope; did you mean 'free'?
41 | fre[b]++;
| ^~~
| free
main.cpp:45:12: error: 'fre' was not declared in this scope; did you mean 'free'?
45 | if(fre[i]==0)
| ^~~
| free
main.cpp:47:13: error: 'root' was not declared in this scope
47 | root=i;
| ^~~~
main.cpp:51:11: error: 'root' was not declared in this scope
51 | depth[root]=1;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !