Borderou de evaluare (job #2524012)
Utilizator | Data | 14 ianuarie 2020 22:35:47 | |
---|---|---|---|
Problema | Fast Fourier Transformation | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int multiplication(long long int, long long int)':
main.cpp:26:41: error: 'assert' was not declared in this scope
assert(result >= 0LL && result < mod);
^
main.cpp: In constructor 'PalTree::PalNode::PalNode()':
main.cpp:54:60: error: 'memset' was not declared in this scope
memset(this -> next, NULL, sizeof(this -> next));
^
main.cpp: In member function 'void PalTree::update(const string&, int, PalTree::PalNode*&)':
main.cpp:94:47: error: 'assert' was not declared in this scope
assert(prev -> next[letter] != nullptr);
^
main.cpp: In member function 'void PalTree::propagate()':
main.cpp:102:17: warning: unused variable 'ans' [-Wunused-variable]
long long ans = 0;
^~~
main.cpp: In member function 'void PalTree::dfs(PalTree::PalNode*, long long int)':
main.cpp:120:43: error: 'assert' was not declared in this scope
assert(son -> len != 1);
^
main.cpp: In member function 'void PalTree::addString(std::__cxx11::string&)':
main.cpp:134:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); ++ i)
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:157:9: error: 'allValues' was not declared in this scope
allValues.
^~~~~~~~~
main.cpp:158:5: error: expected unqualified-id before '}' token
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !