Borderou de evaluare (job #819049)
Utilizator | Data | 18 noiembrie 2012 14:29:59 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘bool disjointSet::join(int, int)’:
user.cpp:38: error: ‘FALSE’ was not declared in this scope
user.cpp:46: error: ‘TRUE’ was not declared in this scope
user.cpp: In member function ‘void graph::print_apm()’:
user.cpp:91: warning: comparison between signed and unsigned integer expressions
user.cpp:96: error: ‘printf’ was not declared in this scope
user.cpp:99: error: ‘struct graph::edge’ has no member named ‘node2’
user.cpp: In function ‘int main()’:
user.cpp:105: error: ‘stdin’ was not declared in this scope
user.cpp:105: error: ‘freopen’ was not declared in this scope
user.cpp:106: error: ‘stdout’ was not declared in this scope
user.cpp:108: error: ‘num_nodes’ was not declared in this scope
user.cpp:108: error: ‘num_edges’ was not declared in this scope
user.cpp:108: error: ‘scanf’ was not declared in this scope
In file included from /usr/include/c++/4.4/algorithm:62,
from user.cpp:2:
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&) [with _Tp = graph::edge]’:
/usr/include/c++/4.4/bits/stl_algo.h:2268: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<graph::edge*, std::vector<graph::edge, std::allocator<graph::edge> > >, _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<graph::edge*, std::vector<graph::edge, std::allocator<graph::edge> > >]’
user.cpp:78: instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:89: error: passing ‘const graph::edge’ as ‘this’ argument of ‘bool graph::edge::operator<(const graph::edge&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:90: error: passing ‘const graph::edge’ as ‘this’ argument of ‘bool graph::edge::operator<(const graph::edge&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:92: error: passing ‘const graph::edge’ as ‘this’ argument of ‘bool graph::edge::operator<(const graph::edge&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:96: error: passing ‘const graph::edge’ as ‘this’ argument of ‘bool graph::edge::operator<(const graph::edge&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:98: error: passing ‘const graph::edge’ as ‘this’ argument of ‘bool graph::edge::operator<(const graph::edge&)’ discards qualifiers
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !