Borderou de evaluare (job #2774660)

Utilizator sergioneUngureanu Sergiu sergione Data 12 septembrie 2021 11:01:22
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void init()': main.cpp:23:14: warning: array subscript has type 'char' [-Wchar-subscripts] ind[c] = p; ^ main.cpp:26:14: warning: array subscript has type 'char' [-Wchar-subscripts] ind[c] = p; ^ main.cpp:29:14: warning: array subscript has type 'char' [-Wchar-subscripts] ind[c] = p; ^ main.cpp: In function 'bool ok(int)': main.cpp:56:40: warning: array subscript has type 'char' [-Wchar-subscripts] h = (1LL * h * sigma + ind[s[i]]) % mod; ^ main.cpp:66:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = value; i < s.size(); i++) ~~^~~~~~~~~~ main.cpp:68:53: warning: array subscript has type 'char' [-Wchar-subscripts] h = (1LL * h + mod - (1LL * ind[s[i - value]] * p) % mod) % mod; ^ main.cpp:69:40: warning: array subscript has type 'char' [-Wchar-subscripts] h = (1LL * h * sigma + ind[s[i]]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1101ms917kbTime limit exceeded0
2103ms917kbTime limit exceeded0
3101ms917kbTime limit exceeded0
426ms393kbIncorect0
5101ms917kbTime limit exceeded0
6100ms917kbTime limit exceeded0
72ms131kbOK10
86ms131kbOK10
96ms131kbIncorect0
1095ms786kbIncorect0
Punctaj total20

Ceva nu functioneaza?