```
public static void merge(int A[], int m, int B[], int n) {
int[] C=new int[m+n];
for (int i=0;i<A.length;i++){
C[i]=A[i];
}
for (int i=A.length;i<C.length;i++){
C[i]=B[i-A.length];
}
Arrays.sort(C);
}
```

My computer tested that case and the answer is 1 but online judgement is 0. I don't know why. Anyone could help?