Borderou de evaluare (job #2871561)
Utilizator | Data | 15 martie 2022 08:41:54 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:2: error: invalid preprocessing directive #defien; did you mean #define?
6 | #defien prim1 31
| ^~~~~~
| define
main.cpp: In function 'int main()':
main.cpp:28:25: error: 'prim1' was not declared in this scope; did you mean 'prim2'?
28 | hasha1=((hasha1*prim1)%mod1+A[i])%mod1;
| ^~~~~
| prim2
main.cpp:39:25: error: 'prim1' was not declared in this scope; did you mean 'prim2'?
39 | hashb1=((hashb1*prim1)%mod1+B[i])%mod1;
| ^~~~~
| prim2
main.cpp:50:18: error: 'prim1' was not declared in this scope; did you mean 'prim2'?
50 | hashb1=((prim1*(hashb1-((B[i-sa]*p1)%mod1)+mod1))%mod1+B[i])%mod1;
| ^~~~~
| prim2
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !