# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
2657 | domece | 짝수 정렬 (tutorial3) | C11 | 0 ms | 1088 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
void sort_even(int N, int *A){
int i,j;
for(i=0;i<N;i++){
int tmp=A[i];
int index=i;
for(j=1;j<N;j++){
if(tmp>A[j]) tmp=A[j],index=j;
}
A[i]^=A[index]^=A[i]^=A[index];
if(A[i]%2==0) Report(A[i]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |