Pagini recente » Borderou de evaluare (job #1316809) | Borderou de evaluare (job #2585097) | Borderou de evaluare (job #3267255) | Borderou de evaluare (job #3211616) | Borderou de evaluare (job #1478534)
Borderou de evaluare (job #1478534)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:14:5: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=]
scanf("%d %d %d %d",&lungime_sir1,&lungime_sir2,&restrictie);
^
user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.in","r",stdin);
^
user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.out","w",stdout);
^
user.c:14:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&lungime_sir1,&lungime_sir2,&restrictie);
^
user.c:17:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1);
^
user.c:20:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir2);
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
In function ‘gets’,
inlined from ‘main’ at user.c:17:9:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:3: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
In function ‘gets’,
inlined from ‘main’ at user.c:20:9:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:3: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccugZcmP.o: In function `main':
user.c:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 424kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 400kb | Killed by signal 6(SIGABRT). | 0 |
6 | 12ms | 9076kb | Killed by signal 6(SIGABRT). | 0 |
7 | 20ms | 12328kb | Killed by signal 6(SIGABRT). | 0 |
8 | 20ms | Depăşit | Memory limit exceeded. | 0 |
9 | 20ms | Depăşit | Memory limit exceeded. | 0 |
10 | 20ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |