Borderou de evaluare (job #3135852)
Utilizator | Data | 4 iunie 2023 16:10:02 | |
---|---|---|---|
Problema | Dragoni | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra()':
main.cpp:37:17: error: expected ';' before 'for'
37 | pq.pop()
| ^
| ;
38 | for(int i=0;i<v[frn.nod].size();i++)
| ~~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
38 | for(int i=0;i<v[frn.nod].size();i++)
| ^
main.cpp:33:14: note: 'frn' was not declared 'constexpr'
33 | edge frn;
| ^~~
main.cpp:38:39: error: the value of 'frn' is not usable in a constant expression
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !