Borderou de evaluare (job #1067430)

Utilizator romykPrehari Romica romyk Data 26 decembrie 2013 20:17:16
Problema Permut Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:35:4: warning: format ‘%i’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] scanf("%i",&n); ^ user.c:37:5: warning: format ‘%i’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] scanf("%i",&a[i]); ^ user.c:38:5: warning: passing argument 3 of ‘quick_sort’ from incompatible pointer type [enabled by default] quick_sort(0,n-1,&a); ^ user.c:3:6: note: expected ‘long int *’ but argument is of type ‘long int (*)[100002]’ void quick_sort( int l , int r, long tab[] ) ^ user.c:40:5: warning: format ‘%i’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] scanf("%i",&b[i]); ^ user.c:41:5: warning: passing argument 3 of ‘quick_sort’ from incompatible pointer type [enabled by default] quick_sort(0,n-1,&b); ^ user.c:3:6: note: expected ‘long int *’ but argument is of type ‘long int (*)[100002]’ void quick_sort( int l , int r, long tab[] ) ^ user.c:45:5: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%i",s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK10
20ms236kbOK10
34ms240kbIncorect0
44ms236kbIncorect0
544ms624kbIncorect0
696ms1008kbIncorect0
796ms1004kbIncorect0
892ms1004kbIncorect0
992ms1000kbIncorect0
1092ms1000kbIncorect0
Punctaj total20

Ceva nu functioneaza?