Pagini recente » Borderou de evaluare (job #945501) | Borderou de evaluare (job #178114) | Borderou de evaluare (job #1971238) | Borderou de evaluare (job #1142389) | Borderou de evaluare (job #2733834)
Borderou de evaluare (job #2733834)
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:40:39: warning: array subscript has type 'char' [-Wchar-subscripts]
h = (1LL * h * base + ind[s[i]]) % mod;
^
main.cpp:48:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = value; i < s.size(); i++)
~~^~~~~~~~~~
main.cpp:50:53: warning: array subscript has type 'char' [-Wchar-subscripts]
h = (1LL * h + mod - (1LL * ind[s[i - value]] * p) % mod) % mod;
^
main.cpp:51:39: warning: array subscript has type 'char' [-Wchar-subscripts]
h = (1LL * h * base + ind[s[i]]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 101ms | 1110kb | Time limit exceeded | 0 |
2 | 96ms | 1150kb | Incorect | 0 |
3 | 42ms | 1093kb | OK | 10 |
4 | 18ms | 393kb | Incorect | 0 |
5 | 61ms | 770kb | Incorect | 0 |
6 | 82ms | 765kb | Incorect | 0 |
7 | 3ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 5ms | 131kb | Incorect | 0 |
10 | 19ms | 724kb | Incorect | 0 |
Punctaj total | 30 |