Borderou de evaluare (job #819050)
Utilizator | Data | 18 noiembrie 2012 14:31:43 | |
---|---|---|---|
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 ‘void graph::print_apm()’:
user.cpp:92: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘int main()’:
user.cpp:106: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:107: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:111: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:117: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
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:79: 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 !