Borderou de evaluare (job #3290720)
Utilizator | Data | 31 martie 2025 17:59:20 | |
---|---|---|---|
Problema | Heavy Path Decomposition | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for( i = 0; i < muchii[x].size(); i++ ){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void heavy_light_decomp()':
main.cpp:45:17: error: 'reverse' was not declared in this scope
45 | reverse( lant[i].begin(), lant[i].end() );
| ^~~~~~~
main.cpp: In function 'int solve(int, int, int)':
main.cpp:109:1: warning: control reaches end of non-void function [-Wreturn-type]
109 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !