Pagini recente » Borderou de evaluare (job #1438862) | Borderou de evaluare (job #1566589)
Borderou de evaluare (job #1566589)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:29:1: warning: passing argument 4 of ‘qsort’ from incompatible pointer type [enabled by default]
qsort(c,n-1,sizeof(long long int),comp);
^
In file included from user.c:2:0:
/usr/include/stdlib.h:761:13: note: expected ‘__compar_fn_t’ but argument is of type ‘long long int (*)(const long long int *, const long long int *)’
extern void qsort (void *__base, size_t __nmemb, size_t __size,
^
user.c:14:33: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
long long int n,k,q,x,y,z;fscanf(in,"%lld",&n);
^
user.c:15:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%lld",&k);
^
user.c:16:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%lld",&q);
^
user.c:17:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%lld",&x);
^
user.c:18:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%lld",&y);
^
user.c:19:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%lld",&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 24ms | 788kb | OK | 10 |
5 | Depăşit | 3956kb | Time limit exceeded. | 0 |
6 | Depăşit | 6080kb | Time limit exceeded. | 0 |
7 | Depăşit | 7580kb | Time limit exceeded. | 0 |
8 | Depăşit | 8164kb | Time limit exceeded. | 0 |
9 | Depăşit | 8604kb | Time limit exceeded. | 0 |
10 | Depăşit | 9052kb | Time limit exceeded. | 0 |
Punctaj total | 30 |