Borderou de evaluare (job #2592441)

Utilizator OnofreiTudorOnofrei Tudor OnofreiTudor Data 1 aprilie 2020 18:15:04
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:31:39: error: 'PRIM' was not declared in this scope hash1 = (hash1 * 29 + M[i]) % PRIM; ^~~~ main.cpp:36:39: error: 'PRIM' was not declared in this scope hash2 = (hash2 * 29 + N[i]) % PRIM; ^~~~ main.cpp:43:68: error: 'PRIM' was not declared in this scope hash2 = ((hash2 - (N[i-1])*(putere/29)) * 29 + N[i+m-1]) % PRIM; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?