Borderou de evaluare (job #1823427)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 6 decembrie 2016 12:34:30
Problema Beep Status done
Runda Arhiva Monthly Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:6:20: warning: type defaults to ‘int’ in declaration of ‘firstString’ [enabled by default] void replace(const firstString[], const secondString[], const thirdString[]); ^ user.c:6:41: warning: type defaults to ‘int’ in declaration of ‘secondString’ [enabled by default] void replace(const firstString[], const secondString[], const thirdString[]); ^ user.c:6:63: warning: type defaults to ‘int’ in declaration of ‘thirdString’ [enabled by default] void replace(const firstString[], const secondString[], const thirdString[]); ^ user.c: In function ‘main’: user.c:31:1: warning: passing argument 1 of ‘replace’ from incompatible pointer type [enabled by default] replace(word2, " beep ", expression); ^ user.c:6:6: note: expected ‘const int *’ but argument is of type ‘char *’ void replace(const firstString[], const secondString[], const thirdString[]); ^ user.c:31:1: warning: passing argument 2 of ‘replace’ from incompatible pointer type [enabled by default] replace(word2, " beep ", expression); ^ user.c:6:6: note: expected ‘const int *’ but argument is of type ‘char *’ void replace(const firstString[], const secondString[], const thirdString[]); ^ user.c:31:1: warning: passing argument 3 of ‘replace’ from incompatible pointer type [enabled by default] replace(word2, " beep ", expression); ^ user.c:6:6: note: expected ‘const int *’ but argument is of type ‘char *’ void replace(const firstString[], const secondString[], const thirdString[]); ^ user.c: At top level: user.c:39:20: warning: type defaults to ‘int’ in declaration of ‘firstString’ [enabled by default] void replace(const firstString[], const secondString[], const thirdString[]){ ^ user.c:39:41: warning: type defaults to ‘int’ in declaration of ‘secondString’ [enabled by default] void replace(const firstString[], const secondString[], const thirdString[]){ ^ user.c:39:63: warning: type defaults to ‘int’ in declaration of ‘thirdString’ [enabled by default] void replace(const firstString[], const secondString[], const thirdString[]){ ^ user.c: In function ‘replace’: user.c:44:1: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default] len1 = strlen(firstString); ^ In file included from user.c:2:0: /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘const int *’ extern size_t strlen (__const char *__s) ^ user.c:45:1: warning: passing argument 1 of ‘strlen’ from incompatible pointer type [enabled by default] len2 = strlen(secondString); ^ In file included from user.c:2:0:
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbIncorect00
20ms252kbIncorect0
30ms256kbIncorect0
40ms248kbIncorect0
50ms248kbIncorect0
60ms252kbIncorect0
70ms236kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?