Submission #14488

#TimeUsernameProblemLanguageResultExecution timeMemory
14488nosiar짝수 정렬 (tutorial3)C++14
100 / 100
0 ms1208 KiB
#include <algorithm> #include <vector> #include "grader.h" int sort_even(int N, int *A) { std::vector<int> x; for (int i = 0; i < N; ++i) if (A[i] % 2 == 0) x.push_back(A[i]); std::sort(x.begin(), x.end()); for (int i : x) Report(i); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...