Borderou de evaluare (job #3034909)
Utilizator | Data | 24 martie 2023 10:28:26 | |
---|---|---|---|
Problema | Flux maxim de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bellman()':
main.cpp:35:28: error: 'struct std::pair<int, int>' has no member named 'nod'
35 | int newnod = x.nod;
| ^~~
main.cpp:36:29: error: 'struct std::pair<int, int>' has no member named 'cost'
36 | int newcost = x.cost;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:60:11: error: 'belman' was not declared in this scope; did you mean 'bellman'?
60 | while(belman())
| ^~~~~~
| bellman
main.cpp:64:30: error: 'struct std::pair<int, int>' has no member named 'nod'
64 | if(capacitate[x.nod][d]!=0 && dist[x.nod]!=0)
| ^~~
main.cpp:64:51: error: 'struct std::pair<int, int>' has no member named 'nod'
64 | if(capacitate[x.nod][d]!=0 && dist[x.nod]!=0)
| ^~~
main.cpp:82:17: error: 'raspcost' was not declared in this scope; did you mean 'rasp_cost'?
82 | raspcost+=flux*dist[d];
| ^~~~~~~~
| rasp_cost
main.cpp:86:8: error: 'raspcost' was not declared in this scope; did you mean 'rasp_cost'?
86 | g<<raspcost;
| ^~~~~~~~
| rasp_cost
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !