Borderou de evaluare (job #2943472)
Utilizator | Data | 20 noiembrie 2022 23:44:33 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void read(long long int&, long long int&, long long int&)':
main.cpp:33:12: warning: unused variable 'b' [-Wunused-variable]
33 | int a, b, c;
| ^
main.cpp:33:15: warning: unused variable 'c' [-Wunused-variable]
33 | int a, b, c;
| ^
main.cpp: In function 'void bellman_ford(long long int)':
main.cpp:54:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<my_struct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int i = 0; i < v[nod_din_coada].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: error: '::main' must return 'int'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !