Borderou de evaluare (job #909241)

Utilizator scipianusFMI Ciprian Olariu scipianus Data 10 martie 2013 14:56:20
Problema Arbpal Status done
Runda .com 2012 Runda 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void DFS(int)’: user.cpp:20:4: error: reference to ‘hash’ is ambiguous hash[*it][0]=(hash[x][0]*H+s[*it])%MOD; ^ user.cpp:10:11: note: candidates are: long long int hash [5010][2] long long hash[5010][2],p[5010]; ^ 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:20:18: error: reference to ‘hash’ is ambiguous hash[*it][0]=(hash[x][0]*H+s[*it])%MOD; ^ user.cpp:10:11: note: candidates are: long long int hash [5010][2] long long hash[5010][2],p[5010]; ^ 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:21:4: error: reference to ‘hash’ is ambiguous hash[*it][1]=(hash[x][1]+p[x]*s[*it])%MOD; ^ user.cpp:10:11: note: candidates are: long long int hash [5010][2] long long hash[5010][2],p[5010]; ^ 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
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms456kbIncorect00
24ms452kbIncorect00
34ms456kbIncorect00
440ms484kbIncorect00
5148ms508kbIncorect00
6Depăşit664kbTime limit exceeded.0
7152ms512kbOK4
8Depăşit660kbTime limit exceeded.0
9Depăşit660kbTime limit exceeded.00
10Depăşit660kbTime limit exceeded.0
11Depăşit664kbTime limit exceeded.0
128ms460kbIncorect00
1316ms468kbIncorect00
1456ms492kbIncorect00
1572ms488kbIncorect00
1696ms496kbIncorect00
17120ms500kbIncorect00
18Depăşit664kbTime limit exceeded.00
19Depăşit576kbTime limit exceeded.0
20Depăşit628kbTime limit exceeded.0
21Depăşit660kbTime limit exceeded.0
22Depăşit660kbTime limit exceeded.0
23Depăşit664kbTime limit exceeded.0
24Depăşit668kbTime limit exceeded.00
25Depăşit664kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?