Borderou de evaluare (job #186707)
Utilizator | Data | 28 aprilie 2008 17:59:57 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp: In function 'void print(std::multiset<int, Cmp, std::allocator<int> >&)':
user.cpp:20: error: expected `;' before 'it'
user.cpp:20: error: 'it' was not declared in this scope
user.cpp: In function 'void dijkstra()':
user.cpp:33: warning: comparison between signed and unsigned integer expressions
user.cpp: In function 'void print(std::multiset<int, Cmp, std::allocator<int> >&) [with Cmp = dist_cmp]':
user.cpp:41: instantiated from here
user.cpp:20: error: dependent-name 'std::multiset<int,Cmp,std::allocator<int> >::iterator' is parsed as a non-type, but instantiation yields a type
user.cpp:20: note: say 'typename std::multiset<int,Cmp,std::allocator<int> >::iterator' if a type is meant
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !