Pagini recente » Borderou de evaluare (job #1626814) | Borderou de evaluare (job #208940) | Borderou de evaluare (job #3131843) | Borderou de evaluare (job #1163859) | Borderou de evaluare (job #1356028)
Borderou de evaluare (job #1356028)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:70:13: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
auxiliar = strdup(linie);//strcpy(auxiliar, linie);
^
user.c:70:22: warning: assignment makes pointer from integer without a cast [enabled by default]
auxiliar = strdup(linie);//strcpy(auxiliar, linie);
^
user.c:79:17: warning: passing argument 1 of ‘realloc’ makes pointer from integer without a cast [enabled by default]
header =(char**)realloc(capHeader, sizeof(char*));
^
In file included from user.c:2:0:
/usr/include/stdlib.h:485:14: note: expected ‘void *’ but argument is of type ‘int’
extern void *realloc (void *__ptr, size_t __size)
^
user.c:90:17: warning: passing argument 1 of ‘realloc’ makes pointer from integer without a cast [enabled by default]
elements = (char**)realloc(capElem, sizeof(char*));
^
In file included from user.c:2:0:
/usr/include/stdlib.h:485:14: note: expected ‘void *’ but argument is of type ‘int’
extern void *realloc (void *__ptr, size_t __size)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1204kb | OK | 10 |
2 | 0ms | 1200kb | OK | 10 |
3 | 0ms | 1204kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 1232kb | OK | 10 |
5 | 8ms | 1220kb | Incorect | 0 |
6 | 4ms | 1224kb | OK | 10 |
7 | 0ms | 1208kb | OK | 10 |
8 | 68ms | 2028kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 1292kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 1292kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 50 |