Borderou de evaluare (job #1566589)

Utilizator filote_cosminFilote Cosmin Catalin filote_cosmin Data 12 ianuarie 2016 12:53:48
Problema Beri Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

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
10ms276kbIncorect0
20ms280kbOK10
30ms356kbOK10
424ms788kbOK10
5Depăşit3956kbTime limit exceeded.0
6Depăşit6080kbTime limit exceeded.0
7Depăşit7580kbTime limit exceeded.0
8Depăşit8164kbTime limit exceeded.0
9Depăşit8604kbTime limit exceeded.0
10Depăşit9052kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?