Submission #16418

#TimeUsernameProblemLanguageResultExecution timeMemory
16418baji072짝수 정렬 (tutorial3)C++98
100 / 100
0 ms1084 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...