Pagini recente » Borderou de evaluare (job #1519137) | Borderou de evaluare (job #2106524) | Borderou de evaluare (job #2703912) | Borderou de evaluare (job #1841694) | Borderou de evaluare (job #1292592)
Borderou de evaluare (job #1292592)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[i][sir[i]]=i;
^
user.cpp:23:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[i][dict[j][strlen(dict[j])-1]] != 0) {
^
user.cpp:24:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int cost = i - last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:25:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:27:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost += max(0, previ - last[previ][dict[j][k]]-1);
^
user.cpp:28:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[previ][dict[j][k]];
^
user.cpp:41:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[i][dict[j][strlen(dict[j])-1]] != 0) {
^
user.cpp:42:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int cost = i - last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:43:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:45:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[previ-1][dict[j][k]] == 0) {
^
user.cpp:49:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost += max(0, previ - last[previ][dict[j][k]] - 1);
^
user.cpp:50: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 | 448kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 472kb | Incorect | 0 |
4 | 0ms | 608kb | Incorect | 0 |
5 | 4ms | 888kb | Incorect | 0 |
6 | 24ms | 1504kb | Incorect | 0 |
7 | 44ms | 2216kb | Incorect | 0 |
8 | Depăşit | 3580kb | Time limit exceeded. | 0 |
9 | 104ms | 2624kb | Incorect | 0 |
10 | 128ms | 3592kb | Incorect | 0 |
Punctaj total | 20 |