Borderou de evaluare (job #1829016)

Utilizator FfritzoutIon Cristian-Alexandru Ffritzout Data 14 decembrie 2016 10:56:43
Problema Difprim Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:58:3: warning: pointer targets in passing argument 1 of ‘Ciur’ differ in signedness [-Wpointer-sign] Ciur(v,b); ^ user.c:5:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ void Ciur(char v[],int b) { ^ user.c:59:3: warning: pointer targets in passing argument 1 of ‘difprim’ differ in signedness [-Wpointer-sign] ok =difprim(v,a,b,&imax,&jmax); ^ user.c:22:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int difprim(char v[],int a,int b,int *imax,int *jmax) { ^ user.c:55:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms256kbOK10
40ms324kbKilled by signal 11(SIGSEGV).0
524ms2184kbKilled by signal 11(SIGSEGV).0
6248ms7956kbKilled by signal 11(SIGSEGV).0
7288ms9016kbKilled by signal 11(SIGSEGV).0
8100ms4052kbKilled by signal 11(SIGSEGV).0
9256ms8160kbKilled by signal 11(SIGSEGV).0
10328ms10000kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?