Submission #713

#TimeUsernameProblemLanguageResultExecution timeMemory
713CodingIsHard짝수 정렬 (tutorial3)C++98
100 / 100
0 ms916 KiB
#include "grader.h" #include <algorithm> void sort_even(int N, int *A) { /*int last = 0; for(int i = 0;i < N;i++) if(A[i] & 1 == 0) A[last++] = A[i];*/ std::sort(A , A + N); for(int i = 0;i < N;i++) if(A[i] % 2 == 0) Report(A[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...