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