Pagini recente » Borderou de evaluare (job #2457787) | Borderou de evaluare (job #1355479) | Borderou de evaluare (job #2450389) | Borderou de evaluare (job #1368375) | Borderou de evaluare (job #1823427)
Borderou de evaluare (job #1823427)
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 |
1 | 0ms | 256kb | Incorect | 0 | 0 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 248kb | Incorect | 0 |
5 | 0ms | 248kb | Incorect | 0 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |