Borderou de evaluare (job #2749775)
Utilizator | Data | 8 mai 2021 10:14:49 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:97:2: error: stray '#' in program
}#include <bits/stdc++.h>
^
main.cpp: In function 'int main()':
main.cpp:60:31: warning: array subscript has type 'char' [-Wchar-subscripts]
h = (h * 62 + cod[a[n]]) % P;
^
main.cpp:61:31: warning: array subscript has type 'char' [-Wchar-subscripts]
H = (H * 62 + cod[a[n]]) % Q;
^
main.cpp:74:33: warning: array subscript has type 'char' [-Wchar-subscripts]
h1 = (h1 * 62 + cod[b[i]]) % P;
^
main.cpp:75:33: warning: array subscript has type 'char' [-Wchar-subscripts]
h2 = (h2 * 62 + cod[b[i]]) % Q;
^
main.cpp:84:31: warning: array subscript has type 'char' [-Wchar-subscripts]
h1 = ((h1 - cod[b[i-n]] * pw % P + P) * 62 + cod[b[i]]) % P;
^
main.cpp:84:62: warning: array subscript has type 'char' [-Wchar-subscripts]
h1 = ((h1 - cod[b[i-n]] * pw % P + P) * 62 + cod[b[i]]) % P;
^
main.cpp:85:31: warning: array subscript has type 'char' [-Wchar-subscripts]
h2 = ((h2 - cod[b[i-n]] * PW % Q + Q) * 62 + cod[b[i]]) % Q;
^
main.cpp:85:62: warning: array subscript has type 'char' [-Wchar-subscripts]
h2 = ((h2 - cod[b[i-n]] * PW % Q + Q) * 62 + cod[b[i]]) % Q;
^
main.cpp: At global scope:
main.cpp:97:3: error: 'include' does not name a type
}#include <bits/stdc++.h>
^~~~~~~
main.cpp:132:13: error: redefinition of 'std::ifstream fin'
ifstream fin("strmatch.in");
^
main.cpp:36:10: note: 'std::ifstream fin' previously declared here
ifstream fin("strmatch.in");
^~~
main.cpp:133:14: error: redefinition of 'std::ofstream fout'
ofstream fout("strmatch.out");
^
main.cpp:37:10: note: 'std::ofstream fout' previously declared here
ofstream fout("strmatch.out");
^~~~
main.cpp:134:15: error: redefinition of 'char a [2000002]'
char a[2000002];
^
main.cpp:38:6: note: 'char a [2000002]' previously declared here
char a[2000002];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !