Submission #23360

#TimeUsernameProblemLanguageResultExecution timeMemory
23360TAMREF짝수 정렬 (tutorial3)C++11
100 / 100
0 ms1172 KiB
#include "grader.h" #include <queue> using std::priority_queue; void sort_even(int N, int *A) { int i; priority_queue<int> Q; for(i = 0; i < N; i++) { if(A[i] % 2 == 0) Q.push(-A[i]); } for(;!Q.empty();Q.pop()) Report(-Q.top()); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...