Borderou de evaluare (job #1294959)

Utilizator andrei_diaconuAndrei Diaconu andrei_diaconu Data 18 decembrie 2014 16:13:04
Problema Mesaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

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
10ms436kbOK10
20ms420kbIncorect0
30ms460kbOK10
40ms592kbOK10
54ms876kbOK10
620ms1488kbOK10
740ms2200kbOK10
8Depăşit3568kbTime limit exceeded.0
992ms2612kbOK10
10116ms3580kbOK10
Punctaj total80

Ceva nu functioneaza?