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)
{
if(A[0]%2==0&&A[1]%2==0)
{
if(A[0]<A[1])
{
Report(A[0]);
Report(A[1]);
}
else
{
Report(A[1]);
Report(A[0]);
}
}
else
{
if(A[0]%2==0)Report(A[0]);
if(A[1]%2==0)Report(A[1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |