Submission #145824

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