Pagini recente » Borderou de evaluare (job #1752011) | Borderou de evaluare (job #1049461) | Borderou de evaluare (job #930173) | Borderou de evaluare (job #2876068) | Borderou de evaluare (job #2774663)
Borderou de evaluare (job #2774663)
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 |
1 | 100ms | 1056kb | Time limit exceeded | 0 |
2 | 100ms | 1150kb | Time limit exceeded | 0 |
3 | 92ms | 1056kb | OK | 10 |
4 | 23ms | 393kb | Incorect | 0 |
5 | 92ms | 802kb | Incorect | 0 |
6 | 82ms | 802kb | Incorect | 0 |
7 | 2ms | 131kb | OK | 10 |
8 | 6ms | 131kb | OK | 10 |
9 | 6ms | 131kb | Incorect | 0 |
10 | 69ms | 704kb | Incorect | 0 |
Punctaj total | 30 |