Pagini recente » Borderou de evaluare (job #969851) | Borderou de evaluare (job #457869) | Borderou de evaluare (job #1568520) | Borderou de evaluare (job #3185079) | Borderou de evaluare (job #2774662)
Borderou de evaluare (job #2774662)
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 | 101ms | 917kb | Time limit exceeded | 0 |
| 2 | 103ms | 917kb | Time limit exceeded | 0 |
| 3 | 100ms | 1048kb | Time limit exceeded | 0 |
| 4 | 26ms | 393kb | Incorect | 0 |
| 5 | 101ms | 917kb | Time limit exceeded | 0 |
| 6 | 100ms | 917kb | Time limit exceeded | 0 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 6ms | 131kb | OK | 10 |
| 9 | 6ms | 131kb | Incorect | 0 |
| 10 | 93ms | 786kb | Incorect | 0 |
| Punctaj total | 20 |