Pagini recente » Borderou de evaluare (job #1071672) | Borderou de evaluare (job #3275826) | Borderou de evaluare (job #1173850) | Borderou de evaluare (job #449732) | Borderou de evaluare (job #909241)
Borderou de evaluare (job #909241)
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
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 456kb | Incorect | 0 | 0 |
✗ | 2 | 4ms | 452kb | Incorect | 0 | 0 |
✗ | 3 | 4ms | 456kb | Incorect | 0 | 0 |
✗ | 4 | 40ms | 484kb | Incorect | 0 | 0 |
✗ | 5 | 148ms | 508kb | Incorect | 0 | 0 |
✗ | 6 | Depăşit | 664kb | Time limit exceeded. | 0 |
✗ | 7 | 152ms | 512kb | OK | 4 |
✗ | 8 | Depăşit | 660kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 660kb | Time limit exceeded. | 0 | 0 |
✗ | 10 | Depăşit | 660kb | Time limit exceeded. | 0 |
✗ | 11 | Depăşit | 664kb | Time limit exceeded. | 0 |
✗ | 12 | 8ms | 460kb | Incorect | 0 | 0 |
✗ | 13 | 16ms | 468kb | Incorect | 0 | 0 |
✗ | 14 | 56ms | 492kb | Incorect | 0 | 0 |
✗ | 15 | 72ms | 488kb | Incorect | 0 | 0 |
✗ | 16 | 96ms | 496kb | Incorect | 0 | 0 |
✗ | 17 | 120ms | 500kb | Incorect | 0 | 0 |
✓ | 18 | Depăşit | 664kb | Time limit exceeded. | 0 | 0 |
✗ | 19 | Depăşit | 576kb | Time limit exceeded. | 0 |
✗ | 20 | Depăşit | 628kb | Time limit exceeded. | 0 |
✗ | 21 | Depăşit | 660kb | Time limit exceeded. | 0 |
✗ | 22 | Depăşit | 660kb | Time limit exceeded. | 0 |
✗ | 23 | Depăşit | 664kb | Time limit exceeded. | 0 |
✗ | 24 | Depăşit | 668kb | Time limit exceeded. | 0 | 0 |
✓ | 25 | Depăşit | 664kb | Time limit exceeded. | 0 |
Punctaj total | 0 |