Borderou de evaluare (job #3199017)
Utilizator | Data | 31 ianuarie 2024 12:30:05 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:20:1: error: 'queue' does not name a type
20 | queue<int> C;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:35:5: error: 'C' was not declared in this scope
35 | C.push(start);
| ^
main.cpp:40:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(i=0; i<G[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 !