Borderou de evaluare (job #2823127)
Utilizator | Data | 27 decembrie 2021 08:40:22 | |
---|---|---|---|
Problema | Conexidad | 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:15:12: error: found ':' in nested-name-specifier, expected '::'
15 | for(ngb: adj[crt]) {
| ^
| ::
main.cpp:15:9: error: 'ngb' has not been declared
15 | for(ngb: adj[crt]) {
| ^~~
main.cpp:19:1: error: expected primary-expression before '}' token
19 | }
| ^
main.cpp:18:6: error: expected ';' before '}' token
18 | }
| ^
| ;
19 | }
| ~
main.cpp:19:1: error: expected primary-expression before '}' token
19 | }
| ^
main.cpp:18:6: error: expected ')' before '}' token
18 | }
| ^
| )
19 | }
| ~
main.cpp:15:8: note: to match this '('
15 | for(ngb: adj[crt]) {
| ^
main.cpp:19:1: error: expected primary-expression before '}' token
19 | }
| ^
main.cpp: In function 'int main()':
main.cpp:69:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for(int i = 0; i < cc[1].size(); ++i) {
| ~~^~~~~~~~~~~~~~
main.cpp:76:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(int j = 1; j < cc[i].size(); ++j)
| ~~^~~~~~~~~~~~~~
main.cpp:78:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int j = 0; j < cc[i + 1].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !