Borderou de evaluare (job #2284473)
Utilizator | Data | 17 noiembrie 2018 11:10:45 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Hash::init(char*, int)':
main.cpp:15:12: error: 'hashh' was not declared in this scope
hashh=(hashh+(1LL*power*s[i])%m)%m;
^~~~~
main.cpp: In member function 'void Hash::roll(char, char)':
main.cpp:22:8: error: 'hashh' was not declared in this scope
hashh=(((hashh-(1LL*toRemove*power)%m+m)*n)%m+toAdd)%m;
^~~~~
main.cpp:22:28: error: 'toRemove' was not declared in this scope
hashh=(((hashh-(1LL*toRemove*power)%m+m)*n)%m+toAdd)%m;
^~~~~~~~
main.cpp:22:54: error: 'toAdd' was not declared in this scope
hashh=(((hashh-(1LL*toRemove*power)%m+m)*n)%m+toAdd)%m;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !