Borderou de evaluare (job #1361230)

Utilizator RobertBBadea Corneliu Robert RobertB Data 25 februarie 2015 20:16:55
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:57:3: warning: passing argument 1 of ‘__rawmemchr’ makes pointer from integer without a cast [enabled by default] string = strchr('{', string); ^ In file included from /usr/include/string.h:637:0, from user.c:3: /usr/include/i386-linux-gnu/bits/string2.h:394:14: note: expected ‘const void *’ but argument is of type ‘int’ extern void *__rawmemchr (const void *__s, int __c); ^ user.c:57:3: warning: passing argument 2 of ‘__rawmemchr’ makes integer from pointer without a cast [enabled by default] string = strchr('{', string); ^ In file included from /usr/include/string.h:637:0, from user.c:3: /usr/include/i386-linux-gnu/bits/string2.h:394:14: note: expected ‘int’ but argument is of type ‘char *’ extern void *__rawmemchr (const void *__s, int __c); ^ user.c:57:3: warning: passing argument 1 of ‘__builtin_strchr’ makes pointer from integer without a cast [enabled by default] string = strchr('{', string); ^ user.c:57:3: note: expected ‘const char *’ but argument is of type ‘int’ user.c:57:3: warning: passing argument 2 of ‘__builtin_strchr’ makes integer from pointer without a cast [enabled by default] user.c:57:3: note: expected ‘int’ but argument is of type ‘char *’ user.c:61:3: warning: passing argument 1 of ‘__rawmemchr’ makes pointer from integer without a cast [enabled by default] obj_end = strchr('}', string); ^ In file included from /usr/include/string.h:637:0, from user.c:3: /usr/include/i386-linux-gnu/bits/string2.h:394:14: note: expected ‘const void *’ but argument is of type ‘int’ extern void *__rawmemchr (const void *__s, int __c); ^ user.c:61:3: warning: passing argument 2 of ‘__rawmemchr’ makes integer from pointer without a cast [enabled by default] obj_end = strchr('}', string); ^ In file included from /usr/include/string.h:637:0, from user.c:3: /usr/include/i386-linux-gnu/bits/string2.h:394:14: note: expected ‘int’ but argument is of type ‘char *’ extern void *__rawmemchr (const void *__s, int __c); ^ user.c:61:3: warning: passing argument 1 of ‘__builtin_strchr’ makes pointer from integer without a cast [enabled by default] obj_end = strchr('}', string); ^ user.c:61:3: note: expected ‘const char *’ but argument is of type ‘int’ user.c:61:3: warning: passing argument 2 of ‘__builtin_strchr’ makes integer from pointer without a cast [enabled by default] user.c:61:3: note: expected ‘int’ but argument is of type ‘char *’ user.c:70:4: warning: passing argument 1 of ‘__rawmemchr’ makes pointer from integer without a cast [enabled by default] string = strchr(':', string); ^ In file included from /usr/include/string.h:637:0, from user.c:3:
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms212kbKilled by signal 11(SIGSEGV).0
20ms208kbKilled by signal 11(SIGSEGV).0
30ms216kbKilled by signal 11(SIGSEGV).0
40ms228kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms212kbKilled by signal 11(SIGSEGV).0
852ms1072kbKilled by signal 11(SIGSEGV).0
94ms1072kbKilled by signal 11(SIGSEGV).0
104ms1292kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?