Pagini recente » Borderou de evaluare (job #1348375) | Borderou de evaluare (job #1094705) | Borderou de evaluare (job #513660) | Borderou de evaluare (job #2442887) | Borderou de evaluare (job #2733832)
Borderou de evaluare (job #2733832)
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: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: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 | 127ms | 1130kb | Time limit exceeded | 0 |
| 2 | 65ms | 1191kb | Incorect | 0 |
| 3 | 38ms | 1060kb | OK | 10 |
| 4 | 18ms | 397kb | Incorect | 0 |
| 5 | 43ms | 802kb | Incorect | 0 |
| 6 | 74ms | 765kb | Incorect | 0 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 6ms | 245kb | Incorect | 0 |
| 10 | 17ms | 671kb | Incorect | 0 |
| Punctaj total | 30 |