Borderou de evaluare (job #1294948)

Utilizator andrei_diaconuAndrei Diaconu andrei_diaconu Data 18 decembrie 2014 15:55:09
Problema Mesaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

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) { ^ 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
30ms452kbOK10
40ms596kbIncorect0
54ms872kbOK10
624ms1488kbOK10
744ms2208kbOK10
8Depăşit3568kbTime limit exceeded.0
996ms2620kbOK10
10124ms3576kbOK10
Punctaj total70

Ceva nu functioneaza?