Pagini recente » Borderou de evaluare (job #782302) | Borderou de evaluare (job #367628) | Borderou de evaluare (job #3113075) | Borderou de evaluare (job #840464) | Borderou de evaluare (job #1294958)
Borderou de evaluare (job #1294958)
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:21:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (strlen(tmp) <= m)
^
user.cpp:33:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[i][dict[j][strlen(dict[j])-1]] != 0 && strlen(dict[j]) < i) {
^
user.cpp:33:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (last[i][dict[j][strlen(dict[j])-1]] != 0 && strlen(dict[j]) < i) {
^
user.cpp:35:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int cost = i - last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:36:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
previ = last[i][dict[j][strlen(dict[j])-1]];
^
user.cpp:38:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (last[previ-1][dict[j][k]] == 0) {
^
user.cpp:42:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost += max(0, previ - last[previ-1][dict[j][k]]-1);
^
user.cpp:43: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 | 432kb | OK | 10 |
2 | 0ms | 420kb | Incorect | 0 |
3 | 0ms | 456kb | OK | 10 |
4 | 0ms | 596kb | OK | 10 |
5 | 4ms | 872kb | OK | 10 |
6 | 24ms | 1488kb | OK | 10 |
7 | 44ms | 2204kb | OK | 10 |
8 | Depăşit | 3568kb | Time limit exceeded. | 0 |
9 | 92ms | 2612kb | OK | 10 |
10 | 128ms | 3580kb | OK | 10 |
Punctaj total | 80 |