Pagini recente » Borderou de evaluare (job #270499) | Borderou de evaluare (job #2460814) | Borderou de evaluare (job #319535) | Borderou de evaluare (job #1357244) | Borderou de evaluare (job #909212)
Borderou de evaluare (job #909212)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:19:4: error: reference to ‘hash’ is ambiguous
hash[*it][0]=(hash[x][0]*H+s[*it])%MOD;
^
user.cpp:6:11: note: candidates are: int hash [5010][2]
int n,sol,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:19:18: error: reference to ‘hash’ is ambiguous
hash[*it][0]=(hash[x][0]*H+s[*it])%MOD;
^
user.cpp:6:11: note: candidates are: int hash [5010][2]
int n,sol,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:4: error: reference to ‘hash’ is ambiguous
hash[*it][1]=(hash[x][1]+p[x]*s[*it])%MOD;
^
user.cpp:6:11: note: candidates are: int hash [5010][2]
int n,sol,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 | 0ms | 436kb | Incorect | 0 | 0 |
✗ | 2 | 4ms | 440kb | Incorect | 0 | 0 |
✗ | 3 | 4ms | 440kb | Incorect | 0 | 0 |
✗ | 4 | 20ms | 456kb | Incorect | 0 | 0 |
✗ | 5 | 76ms | 480kb | Incorect | 0 | 0 |
✗ | 6 | Depăşit | 580kb | Time limit exceeded. | 0 |
✗ | 7 | 76ms | 476kb | OK | 4 |
✗ | 8 | Depăşit | 580kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 584kb | Time limit exceeded. | 0 | 0 |
✗ | 10 | Depăşit | 584kb | Time limit exceeded. | 0 |
✗ | 11 | Depăşit | 580kb | Time limit exceeded. | 0 |
✗ | 12 | 4ms | 444kb | Incorect | 0 | 0 |
✗ | 13 | 8ms | 452kb | Incorect | 0 | 0 |
✗ | 14 | 28ms | 460kb | Incorect | 0 | 0 |
✗ | 15 | 36ms | 460kb | Incorect | 0 | 0 |
✗ | 16 | 48ms | 472kb | Incorect | 0 | 0 |
✗ | 17 | 60ms | 476kb | Incorect | 0 | 0 |
✓ | 18 | Depăşit | 584kb | Time limit exceeded. | 0 | 0 |
✗ | 19 | 672ms | 544kb | Incorect | 0 |
✗ | 20 | Depăşit | 552kb | Time limit exceeded. | 0 |
✗ | 21 | Depăşit | 576kb | Time limit exceeded. | 0 |
✗ | 22 | Depăşit | 584kb | Time limit exceeded. | 0 |
✗ | 23 | Depăşit | 580kb | Time limit exceeded. | 0 |
✗ | 24 | Depăşit | 580kb | Time limit exceeded. | 0 | 0 |
✓ | 25 | Depăşit | 576kb | Time limit exceeded. | 0 |
Punctaj total | 0 |