Borderou de evaluare (job #3348540)
| Utilizator | Data | 22 martie 2026 15:36:50 | |
|---|---|---|---|
| Problema | Santa | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void pop_first(vint&)':
main.cpp:17:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i = 1; i < path.size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:158:1: error: 'queue' does not name a type
158 | queue<int> que;
| ^~~~~
main.cpp: In function 'int append_shortest_path(int)':
main.cpp:168:5: error: 'que' was not declared in this scope
168 | que.push(gica_place);
| ^~~
main.cpp:185:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
185 | for(int i = 1; i < comp_bicon[tree_node].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:309:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
309 | for(int i = 0; i < tree_path.size() && still_possible; i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:311:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
311 | int tail = (i + 1 < tree_path.size()?
| ~~~~~~^~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
