# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
3031 | movie_jo | 짝수 정렬 (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.
#include "grader.h"
void sort_even(int N, int *A) {
int i,j,t;
for(i=0;i<N;i++)
{
for(j=N-1;j>i;j--)
{
if(A[i]>A[j])
{
t=A[i];
A[i]=A[j];
A[j]=t;
}
}
}
for(i = 0; i < N; i++) {
if(A[i] % 2 == 0) Report(A[i]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |