Pagini recente » Borderou de evaluare (job #1336637) | Borderou de evaluare (job #22684) | Borderou de evaluare (job #1731916) | Borderou de evaluare (job #610027) | Borderou de evaluare (job #1350345)
Borderou de evaluare (job #1350345)
Raport evaluator
Compilare:
user.c: In function ‘sterge’:
user.c:30:3: warning: statement with no effect [-Wunused-value]
for(i >0; ((s[i] == ' ') || (s[i] =='\t'));--i)
^
user.c: In function ‘main’:
user.c:46:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
char* cuv=malloc( sizeof(char) * (1014+ 1 ) );
^
user.c:46:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
char* cuv=malloc( sizeof(char) * (1014+ 1 ) );
^
user.c:56:9: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
exit(1);
^
user.c:56:9: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
user.c:62:9: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit(1);
^
user.c:75:9: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
c=strdup(cuv);
^
user.c:75:10: warning: assignment makes pointer from integer without a cast [enabled by default]
c=strdup(cuv);
^
user.c:95:14: warning: assignment makes pointer from integer without a cast [enabled by default]
c=strdup(cuv);
^
user.c:100:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
free(cuv);
^
user.c:100:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
user.c:49:9: warning: unused variable ‘k’ [-Wunused-variable]
int k;
^
user.c:70:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,2014,f);
^
user.c:90:19: warning: ‘ok’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(ok){fputs(cap,g);ok=0;}
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
In function ‘fgets’,
inlined from ‘main’ at user.c:70:14:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |