Pagini recente » Borderou de evaluare (job #921046) | Borderou de evaluare (job #3278837) | Borderou de evaluare (job #2320555) | Borderou de evaluare (job #2333258) | Borderou de evaluare (job #2749789)
Borderou de evaluare (job #2749789)
Raport evaluator
Compilare:
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;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |