Pagini recente » Borderou de evaluare (job #348465) | Borderou de evaluare (job #2137761) | Borderou de evaluare (job #2018414) | Borderou de evaluare (job #2078433) | Borderou de evaluare (job #1294959)
Borderou de evaluare (job #1294959)
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:80: 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:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cost += 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 | 436kb | OK | 10 |
2 | 0ms | 420kb | Incorect | 0 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 592kb | OK | 10 |
5 | 4ms | 876kb | OK | 10 |
6 | 20ms | 1488kb | OK | 10 |
7 | 40ms | 2200kb | OK | 10 |
8 | Depăşit | 3568kb | Time limit exceeded. | 0 |
9 | 92ms | 2612kb | OK | 10 |
10 | 116ms | 3580kb | OK | 10 |
Punctaj total | 80 |