Borderou de evaluare (job #1040816)
Utilizator | Data | 24 noiembrie 2013 22:45:20 | |
---|---|---|---|
Problema | Dtcsu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:10: error: ‘K_MAX’ was not declared in this scope
int REST[K_MAX] = {5901353, 5919271, 5962711, 5998691}, MUL[K_MAX] = {3, 11, 5, 7};
^
user.cpp:11:61: error: ‘K_MAX’ was not declared in this scope
int REST[K_MAX] = {5901353, 5919271, 5962711, 5998691}, MUL[K_MAX] = {3, 11, 5, 7};
^
user.cpp:15:22: error: ‘K_MAX’ was not declared in this scope
bitset<BITSET_MAX> V[K_MAX];
^
user.cpp: In function ‘int getHashCode(const long long unsigned int&, const int&)’:
user.cpp:28:17: error: ‘MUL’ was not declared in this scope
return (X * MUL[A]) % REST[A];
^
user.cpp:28:27: error: ‘REST’ was not declared in this scope
return (X * MUL[A]) % REST[A];
^
user.cpp: In function ‘void addToBloomFilter(const long long unsigned int&)’:
user.cpp:33:9: error: ‘V’ was not declared in this scope
V[getHashCode(X, i)] = true;
^
user.cpp: In function ‘bool inBloomFilter(const long long unsigned int&)’:
user.cpp:38:13: error: ‘V’ was not declared in this scope
if(!V[getHashCode(X, i)]) return false;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !