Borderou de evaluare (job #3198998)
Utilizator | Data | 31 ianuarie 2024 12:01:14 | |
---|---|---|---|
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:45:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(i=0; i<G[x].size(); i++)
| ~^~~~~~~~~~~~
main.cpp:53:29: error: expected statement at end of input
53 | if(nr[y]==n)
| ^
main.cpp:53:29: error: expected '}' at end of input
main.cpp:50:13: note: to match this '{'
50 | {
| ^
main.cpp:53:29: error: expected '}' at end of input
53 | if(nr[y]==n)
| ^
main.cpp:46:9: note: to match this '{'
46 | {
| ^
main.cpp:53:29: error: expected '}' at end of input
53 | if(nr[y]==n)
| ^
main.cpp:41:5: note: to match this '{'
41 | {
| ^
main.cpp:53:29: error: expected '}' at end of input
53 | if(nr[y]==n)
| ^
main.cpp:22:1: note: to match this '{'
22 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !