Borderou de evaluare (job #3198977)
Utilizator | Data | 31 ianuarie 2024 11:44:11 | |
---|---|---|---|
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 'int main()':
main.cpp:44:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int i = 0; i<G[x].size(); i++) {
| ~^~~~~~~~~~~~
main.cpp:49:33: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
49 | if (nr[y] == n) circuitneg++;
| ^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !