Borderou de evaluare (job #2399773)
Utilizator | Data | 7 aprilie 2019 23:37:50 | |
---|---|---|---|
Problema | Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Kruskal(bool)':
main.cpp:55:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==g.size()-2 && first_apm == false){
~^~~~~~~~~~~~
main.cpp:62:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g.size(); i++){
~^~~~~~~~~
main.cpp:51:12: warning: unused variable 'x' [-Wunused-variable]
int i, x, y, c;
^
main.cpp:51:15: warning: unused variable 'y' [-Wunused-variable]
int i, x, y, c;
^
main.cpp:51:18: warning: unused variable 'c' [-Wunused-variable]
int i, x, y, c;
^
main.cpp: In function 'int main()':
main.cpp:82:33: error: 'sort' was not declared in this scope
sort(g.begin(), g.end(), cmp);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !