Submission #145816

#TimeUsernameProblemLanguageResultExecution timeMemory
145816junseo짝수 정렬 (tutorial3)C++17
100 / 100
2 ms472 KiB
#include "grader.h" #include <bits/stdc++.h> using namespace std; void sort_even(int N, int *A) { vector<int> arr; for(int i = 0; i < N; ++i) { if(A[i] % 2 == 0) { arr.push_back(A[i]); } } sort(arr.begin(), arr.end()); for(auto i : arr) Report(i); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...