Borderou de evaluare (job #2177785)
Utilizator | Data | 18 martie 2018 20:18:19 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:67:19: error: ISO C++ forbids declaration of ‘del’ with no type [-fpermissive]
inline del(int nod) {
^
user.cpp: In function ‘int del(int)’:
user.cpp:76:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:99:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size(); ++i) {
^
user.cpp:97:13: warning: unused variable ‘cost’ [-Wunused-variable]
int cost = k.first;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !