Pagini recente » Borderou de evaluare (job #2240417) | Borderou de evaluare (job #2433062) | Borderou de evaluare (job #1462831) | Borderou de evaluare (job #1549838) | Borderou de evaluare (job #1067430)
Borderou de evaluare (job #1067430)
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 |
1 | 0ms | 236kb | OK | 10 |
2 | 0ms | 236kb | OK | 10 |
3 | 4ms | 240kb | Incorect | 0 |
4 | 4ms | 236kb | Incorect | 0 |
5 | 44ms | 624kb | Incorect | 0 |
6 | 96ms | 1008kb | Incorect | 0 |
7 | 96ms | 1004kb | Incorect | 0 |
8 | 92ms | 1004kb | Incorect | 0 |
9 | 92ms | 1000kb | Incorect | 0 |
10 | 92ms | 1000kb | Incorect | 0 |
Punctaj total | 20 |