Pagini recente » Borderou de evaluare (job #1401690) | Borderou de evaluare (job #2831014) | Borderou de evaluare (job #2328368) | Borderou de evaluare (job #812158) | Borderou de evaluare (job #1294963)
Borderou de evaluare (job #1294963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[i][sir[i]]=i;
^
user.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (strlen(tmp) <= m)
^
user.cpp:38:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[i][dict[j][len-1]] != 0 && len <= i) {
^
user.cpp:40:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost = i - last[i][dict[j][len-1]];
^
user.cpp:41:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[i][dict[j][len-1]];
^
user.cpp:43:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[previ-1][dict[j][k]] == 0) {
^
user.cpp:47:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost += previ - last[previ-1][dict[j][k]]-1;
^
user.cpp:48:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[previ-1][dict[j][k]];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 412kb | Incorect | 0 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 536kb | OK | 10 |
5 | 4ms | 720kb | OK | 10 |
6 | 20ms | 1180kb | OK | 10 |
7 | 36ms | 1700kb | OK | 10 |
8 | Depăşit | 2768kb | Time limit exceeded. | 0 |
9 | 76ms | 2060kb | OK | 10 |
10 | 112ms | 2776kb | OK | 10 |
Punctaj total | 80 |