Borderou de evaluare (job #2560544)
Utilizator | Data | 28 februarie 2020 08:47:23 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Bellman_Ford()':
main.cpp:28:20: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
main.cpp:42:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 1;
^
main.cpp: In function 'int main()':
main.cpp:61:23: error: invalid operands of types 'void' and 'int' to binary 'operator=='
if (Bellman_Ford()==0)
~~~~~~~~~~~~~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !