Borderou de evaluare (job #1203757)
Utilizator | Data | 1 iulie 2014 11:32:38 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:1: error: expected ‘,’ or ‘;’ before ‘const’
const int MOD2 = 666013;
^
user.cpp: In function ‘int main()’:
user.cpp:44:38: error: ‘MOD2’ was not declared in this scope
base2N = ( base2N * BASE ) % MOD2;
^
user.cpp:61:52: error: ‘MOD2’ was not declared in this scope
rollingHash2 = ( ( rollingHash2 * BASE ) % MOD2 + B[i] - ( base2N * B[i - N] ) % MOD2 + MOD2 ) % MOD2;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !