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;
int s[11], top;
void sort_even(int N, int *A)
{
int i;
for(i=0 ; i<N ; i++)
if(A[i]%2==0)
s[++top]=A[i];
sort(s+1,s+top+1);
for(i=1 ; i<=top ; i++)
Report(s[i]);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |