Borderou de evaluare (job #1093044)

Utilizator marian68Vlad Ghircus marian68 Data 27 ianuarie 2014 18:22:02
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<=strlen(a)-1;i++) ^ user.cpp:37:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] l[i]=lmax[lit]+1; ^ user.cpp:38:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] p[i]=pmax[lit]; ^ user.cpp:40:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(l[i]>lmax[lit]) ^ user.cpp:42:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] lmax[lit]=l[i]; ^ user.cpp:43:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] pmax[lit]=i; ^ user.cpp:48:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(lmax[lit]>lsol) ^ user.cpp:50:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] lsol=lmax[lit]; ^ user.cpp:51:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] psol=pmax[lit]; ^ /tmp/ccm6K7if.o: In function `main': user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit432kbTime limit exceeded.0
2Depăşit404kbTime limit exceeded.0
30ms384kbRaspuns gresit0
40ms384kbCorect10
54ms664kbRaspuns gresit0
64ms816kbRaspuns gresit0
70ms396kbRaspuns gresit0
8Depăşit932kbTime limit exceeded.0
90ms416kbRaspuns gresit0
104ms420kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?