Submission #13899

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