Pagini recente » Borderou de evaluare (job #1005100) | Borderou de evaluare (job #1140428) | Borderou de evaluare (job #116528) | Borderou de evaluare (job #511626) | Borderou de evaluare (job #1292651)
Borderou de evaluare (job #1292651)
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:29:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[i][dict[j][strlen(dict[j])-1]] != 0) {
^
user.cpp:31:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost = i - last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:32:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[i][dict[j][strlen(dict[j])-1]]-1;
^
user.cpp:34:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[previ][dict[j][k]] == 0) {
^
user.cpp:38:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost += previ - last[previ][dict[j][k]];
^
user.cpp:39:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[previ][dict[j][k]]-1;
^
user.cpp:24:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 612kb | OK | 10 |
5 | 4ms | 896kb | OK | 10 |
6 | 24ms | 1508kb | OK | 10 |
7 | 40ms | 2224kb | OK | 10 |
8 | Depăşit | 3604kb | Time limit exceeded. | 0 |
9 | 88ms | 2632kb | OK | 10 |
10 | 116ms | 3608kb | OK | 10 |
Punctaj total | 90 |