Borderou de evaluare (job #2965929)
Utilizator | Data | 16 ianuarie 2023 16:28:57 | |
---|---|---|---|
Problema | Trilant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: ISO C++ forbids declaration of 'dijkstra' with no type [-fpermissive]
13 | dijkstra(int k){
| ^~~~~~~~
main.cpp: In function 'int dijkstra(int)':
main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(i=0;i<L[nod].size();i++){
| ~^~~~~~~~~~~~~~
main.cpp:35:1: warning: no return statement in function returning non-void [-Wreturn-type]
35 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !