Borderou de evaluare (job #3197183)
Utilizator | Data | 25 ianuarie 2024 21:24:04 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:13: error: expected nested-name-specifier
2 | #define pii pair<int, int>
| ^~~~~~~~~~~~~~
main.cpp:6:7: note: in expansion of macro 'pii'
6 | using pii = pair<int, int>;
| ^~~
main.cpp: In function 'int main()':
main.cpp:25:5: error: 'vf' was not declared in this scope; did you mean 'v'?
25 | vf[1] = 1;
| ^~
| v
main.cpp:31:16: error: 'd' was not declared in this scope
31 | if(d[vecin] > d[nod]+cost){
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !