Pagini recente » Borderou de evaluare (job #1766239) | Borderou de evaluare (job #1504007) | Borderou de evaluare (job #380885) | Borderou de evaluare (job #1384913) | Borderou de evaluare (job #2733829)
Borderou de evaluare (job #2733829)
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:40: warning: array subscript has type 'char' [-Wchar-subscripts]
h = (1LL * h * sigma + ind[s[i]]) % mod;
^
main.cpp:50:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = value; i < s.size(); i++)
~~^~~~~~~~~~
main.cpp:52:53: warning: array subscript has type 'char' [-Wchar-subscripts]
h = (1LL * h + mod - (1LL * ind[s[i - value]] * p) % mod) % mod;
^
main.cpp:53: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 | 129ms | 1064kb | Time limit exceeded | 0 |
2 | 126ms | 1056kb | Time limit exceeded | 0 |
3 | 100ms | 1064kb | Time limit exceeded | 0 |
4 | 22ms | 393kb | Incorect | 0 |
5 | 90ms | 802kb | Incorect | 0 |
6 | 100ms | 778kb | Time limit exceeded | 0 |
7 | 2ms | 131kb | OK | 10 |
8 | 6ms | 131kb | OK | 10 |
9 | 6ms | 241kb | Incorect | 0 |
10 | 81ms | 712kb | Incorect | 0 |
Punctaj total | 20 |