Borderou de evaluare (job #1209060)

Utilizator Love4BoobiesBarbu Ilie Bogdan Love4Boobies Data 16 iulie 2014 23:13:32
Problema Permut Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:25:5: warning: passing argument 1 of ‘loadarray’ from incompatible pointer type [enabled by default] loadarray(a, n, f); ^ user.c:9:6: note: expected ‘int *’ but argument is of type ‘long int *’ void loadarray(int a[], size_t n, FILE *f) ^ user.c:26:5: warning: passing argument 1 of ‘loadarray’ from incompatible pointer type [enabled by default] loadarray(b, n, f); ^ user.c:9:6: note: expected ‘int *’ but argument is of type ‘long int *’ void loadarray(int a[], size_t n, FILE *f) ^ user.c:32:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g, "%d", val); ^ user.c: In function ‘loadarray’: user.c:12:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &a[i]); ^ user.c: In function ‘main’: user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms272kbIncorect0
40ms272kbIncorect0
552ms840kbIncorect0
6112ms1436kbIncorect0
7120ms1428kbIncorect0
8116ms1432kbIncorect0
9116ms1436kbIncorect0
10116ms1432kbIncorect0
Punctaj total20

Ceva nu functioneaza?