Borderou de evaluare (job #2159218)
Utilizator | Data | 10 martie 2018 20:10:47 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<mv[x].size();i++){
^
user.cpp:36:42: error: invalid types ‘int[int]’ for array subscript
if(dist[mv[x][i].first]>dist[x]+mv[x[i].second){
^
user.cpp:36:50: error: expected ‘]’ before ‘)’ token
if(dist[mv[x][i].first]>dist[x]+mv[x[i].second){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !