Borderou de evaluare (job #1535428)

Utilizator WinnerMCroitorescu Madalin WinnerM Data 24 noiembrie 2015 19:12:56
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(k<=strlen(text)-1 && (strchr(v,text[k]) || text[k]==' ')) ^ user.cpp:12:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(k<=strlen(text)-1 && (strchr(v,text[k]) || text[k]==' ')) ^ user.cpp:12:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(k<=strlen(text)-1 && (strchr(v,text[k]) || text[k]==' ')) ^ user.cpp:18:28: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] text[strlen(text)-1]=NULL; ^ user.cpp:19:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<=strlen(text)-1;i++) ^ user.cpp:9:35: warning: unused variable ‘sp’ [-Wunused-variable] char text[256],v[]=",.!?-:;",*sp,*q,k=0; ^ user.cpp:9:39: warning: unused variable ‘q’ [-Wunused-variable] char text[256],v[]=",.!?-:;",*sp,*q,k=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbWrong answer!0
20ms408kbWrong answer!0
30ms412kbOk!10
40ms408kbOk!10
50ms412kbWrong answer!0
60ms412kbWrong answer!0
70ms420kbWrong answer!0
80ms416kbWrong answer!0
90ms376kbKilled by signal 8(SIGFPE).0
100ms412kbOk!10
Punctaj total30

Ceva nu functioneaza?