Borderou de evaluare (job #1571679)

Utilizator hrazvanHarsan Razvan hrazvan Data 18 ianuarie 2016 12:41:29
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 44

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:60:9: warning: passing argument 1 of ‘eq’ from incompatible pointer type [enabled by default] while(p < dr && !eq(s, ds, ret[p], dret[p])) ^ user.c:32:13: note: expected ‘int *’ but argument is of type ‘char *’ inline char eq(int *s1, int d1, int *s2, int d2){ ^ user.c:60:9: warning: passing argument 3 of ‘eq’ from incompatible pointer type [enabled by default] while(p < dr && !eq(s, ds, ret[p], dret[p])) ^ user.c:32:13: note: expected ‘int *’ but argument is of type ‘char *’ inline char eq(int *s1, int d1, int *s2, int d2){ ^ user.c:65:11: warning: passing argument 1 of ‘copy’ from incompatible pointer type [enabled by default] copy(ret[dr], &dret[dr], s, ds); ^ user.c:23:13: note: expected ‘int *’ but argument is of type ‘char *’ inline void copy(int *s1, int *d1, int *s2, int d2){ ^ user.c:65:11: warning: passing argument 3 of ‘copy’ from incompatible pointer type [enabled by default] copy(ret[dr], &dret[dr], s, ds); ^ user.c:23:13: note: expected ‘int *’ but argument is of type ‘char *’ inline void copy(int *s1, int *d1, int *s2, int d2){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK!10
20ms236kbAfisarea Ingredientelor gresita3
30ms244kbAfisarea Ingredientelor gresita3
40ms236kbOK!10
50ms240kbAfisarea Ingredientelor gresita3
60ms324kbAfisarea Ingredientelor gresita3
70ms272kbAfisarea Ingredientelor gresita3
80ms292kbAfisarea Ingredientelor gresita3
90ms324kbAfisarea Ingredientelor gresita3
100ms256kbAfisarea Ingredientelor gresita3
Punctaj total44

Ceva nu functioneaza?