Borderou de evaluare (job #1566160)

Utilizator filote_cosminFilote Cosmin Catalin filote_cosmin Data 11 ianuarie 2016 20:25:27
Problema Beri Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:55: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:40: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:41:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&k); ^ user.c:42:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&q); ^ user.c:43:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&x); ^ user.c:44:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&y); ^ user.c:45: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
10ms264kbIncorect0
20ms272kbOK10
34ms344kbOK10
448ms788kbOK10
5Depăşit3956kbTime limit exceeded.0
6Depăşit6048kbTime limit exceeded.0
7Depăşit7564kbTime limit exceeded.0
8Depăşit8144kbTime limit exceeded.0
9Depăşit8588kbTime limit exceeded.0
10Depăşit9036kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?