Pagini recente » Borderou de evaluare (job #2876006) | Borderou de evaluare (job #1557260) | Borderou de evaluare (job #2146578) | Borderou de evaluare (job #1279937) | Borderou de evaluare (job #2256995)
Borderou de evaluare (job #2256995)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:32:10: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
ar = malloc(sizeof(int)*aSize);
^~~~~~
user.c:32:10: warning: incompatible implicit declaration of built-in function ‘malloc’
user.c:32:10: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
user.c:38:19: warning: overflow in implicit constant conversion [-Woverflow]
int loopVal = 16384000000 / 2;
^~~~~~~~~~~
user.c:59:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
free(ar);
^~~~
user.c:59:5: warning: incompatible implicit declaration of built-in function ‘free’
user.c:59:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
user.c:28:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in", "rt", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:29:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out", "wt", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:30:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", &aSize, &nTrips);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.c:35:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", ar+i);
^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 860kb | Incorect | 0 |
2 | 0ms | 812kb | Incorect | 0 |
3 | 0ms | 864kb | Incorect | 0 |
4 | 0ms | 936kb | Incorect | 0 |
5 | 0ms | 756kb | Incorect | 0 |
6 | 4ms | 808kb | Incorect | 0 |
7 | 4ms | 796kb | Incorect | 0 |
8 | 4ms | 756kb | Incorect | 0 |
9 | 4ms | 752kb | Incorect | 0 |
10 | 4ms | 756kb | Incorect | 0 |
Punctaj total | 0 |