Submission #8830

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