Submission #711

#TimeUsernameProblemLanguageResultExecution timeMemory
711CodingIsHard짝수 정렬 (tutorial3)C++98
0 / 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] & 1 == 0) Report(A[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...