Borderou de evaluare (job #3002554)
Utilizator | Data | 14 martie 2023 21:19:25 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void rabin(int, int)':
main.cpp:58:5: error: 'p1' was not declared in this scope
58 | p1=lgput(BASE,n-1,MOD1);
| ^~
main.cpp:59:5: error: 'p2' was not declared in this scope
59 | p2=lgput(BASE,n-1,MOD2);
| ^~
main.cpp:48:11: warning: unused variable 'j' [-Wunused-variable]
48 | int i,j,hash1a=0,hash1b=0,hash2a=0,hash2b=0;
| ^
main.cpp: In function 'int main()':
main.cpp:72:9: warning: unused variable 'i' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^
main.cpp:72:11: warning: unused variable 'j' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^
main.cpp:72:17: warning: unused variable 'p1' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^~
main.cpp:72:22: warning: unused variable 'p2' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^~
main.cpp:72:27: warning: unused variable 'hash1a' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^~~~~~
main.cpp:72:36: warning: unused variable 'hash2a' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^~~~~~
main.cpp:72:45: warning: unused variable 'hash1b' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^~~~~~
main.cpp:72:54: warning: unused variable 'hash2b' [-Wunused-variable]
72 | int i,j,n,m,p1=1,p2=1,hash1a=0,hash2a=0,hash1b=0,hash2b=0;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !