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"
#include<algorithm>
using namespace std;
void sort_even(int N, int *A) {
int i;
int a[12],tail=0;
for(i = 0; i < N; i++) {
if(A[i] % 2 == 0){
a[tail] = A[i];
tail++;
}
}
sort(a,a+tail);
for(i = 0; i < tail; i++){
Report(a[i]);
}
return ;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |