Borderou de evaluare (job #1981200)
Utilizator | Data | 15 mai 2017 08:34:06 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:15: warning: missing terminating " character [enabled by default]
ofstream fout("dijks
^
user.cpp:6:1: error: missing terminating " character
ofstream fout("dijks
^
user.cpp:7:22: warning: missing terminating " character [enabled by default]
tra.out");
^
user.cpp:7:15: error: missing terminating " character
tra.out");
^
user.cpp:7:15: error: ‘tra’ was not declared in this scope
user.cpp:8:17: error: expected primary-expression before ‘int’
vector<pair<int,int> >h[nmax];
^
user.cpp: In function ‘void Citire()’:
user.cpp:18:9: error: ‘h’ was not declared in this scope
h[x].push_back(make_pair(y,cost));
^
user.cpp: In function ‘void Dijsktra()’:
user.cpp:34:23: error: ‘h’ was not declared in this scope
for(i=0;i<h[x].size();i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !