Borderou de evaluare (job #1491669)
Utilizator | Data | 25 septembrie 2015 20:31:31 | |
---|---|---|---|
Problema | Arbore3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:49:1: error: reference to ‘hash’ is ambiguous
hash mp;
^
user.cpp:18:8: note: candidates are: struct hash
struct hash {
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:3033:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
user.cpp:49:1: error: ‘hash’ does not name a type
hash mp;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:54:9: error: ‘mp’ was not declared in this scope
ans += mp.wh(vl-s);
^
user.cpp: In function ‘int main()’:
user.cpp:68:5: error: ‘mp’ was not declared in this scope
mp.add(0,1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !