Borderou de evaluare (job #1294958)

Utilizator andrei_diaconuAndrei Diaconu andrei_diaconu Data 18 decembrie 2014 16:12:19
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: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
10ms432kbOK10
20ms420kbIncorect0
30ms456kbOK10
40ms596kbOK10
54ms872kbOK10
624ms1488kbOK10
744ms2204kbOK10
8Depăşit3568kbTime limit exceeded.0
992ms2612kbOK10
10128ms3580kbOK10
Punctaj total80

Ceva nu functioneaza?