Borderou de evaluare (job #616723)
Utilizator | Data | 13 octombrie 2011 10:45:41 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.4/ext/hash_set:60,
from user.cpp:2:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
user.cpp: In function ‘int main()’:
user.cpp:38: warning: comparison between signed and unsigned integer expressions
user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
In file included from /usr/include/c++/4.4/ext/hash_set:62,
from user.cpp:2:
/usr/include/c++/4.4/backward/hashtable.h: In member function ‘size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, size_t) const [with _Val = std::pair<int, int>, _Key = std::pair<int, int>, _HashFcn = __gnu_cxx::hash<std::pair<int, int> >, _ExtractKey = std::_Identity<std::pair<int, int> >, _EqualKey = std::equal_to<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]’:
/usr/include/c++/4.4/backward/hashtable.h:594: instantiated from ‘size_t __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num(const _Val&, size_t) const [with _Val = std::pair<int, int>, _Key = std::pair<int, int>, _HashFcn = __gnu_cxx::hash<std::pair<int, int> >, _ExtractKey = std::_Identity<std::pair<int, int> >, _EqualKey = std::equal_to<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]’
/usr/include/c++/4.4/backward/hashtable.h:1001: instantiated from ‘void __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::resize(size_t) [with _Val = std::pair<int, int>, _Key = std::pair<int, int>, _HashFcn = __gnu_cxx::hash<std::pair<int, int> >, _ExtractKey = std::_Identity<std::pair<int, int> >, _EqualKey = std::equal_to<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]’
/usr/include/c++/4.4/backward/hashtable.h:432: instantiated from ‘std::pair<__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>, bool> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::insert_unique(const _Val&) [with _Val = std::pair<int, int>, _Key = std::pair<int, int>, _HashFcn = __gnu_cxx::hash<std::pair<int, int> >, _ExtractKey = std::_Identity<std::pair<int, int> >, _EqualKey = std::equal_to<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]’
/usr/include/c++/4.4/ext/hash_set:191: instantiated from ‘std::pair<typename __gnu_cxx::hashtable<_Value, _Value, _HashFcn, std::_Identity<_Value>, _EqualKey, _Alloc>::const_iterator, bool> __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::insert(const typename __gnu_cxx::hashtable<_Value, _Value, _HashFcn, std::_Identity<_Value>, _EqualKey, _Alloc>::value_type&) [with _Value = std::pair<int, int>, _HashFcn = __gnu_cxx::hash<std::pair<int, int> >, _EqualKey = std::equal_to<std::pair<int, int> >, _Alloc = std::allocator<std::pair<int, int> >]’
user.cpp:31: instantiated from here
/usr/include/c++/4.4/backward/hashtable.h:590: error: no match for call to ‘(const __gnu_cxx::hash<std::pair<int, int> >) (const std::pair<int, int>&)’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !