Submission #5294

#TimeUsernameProblemLanguageResultExecution timeMemory
5294baneling100짝수 정렬 (tutorial3)C++98
100 / 100
0 ms1088 KiB
#include "grader.h" #include <algorithm> using namespace std; int s[11], top; void sort_even(int N, int *A) { int i; for(i=0 ; i<N ; i++) if(A[i]%2==0) s[++top]=A[i]; sort(s+1,s+top+1); for(i=1 ; i<=top ; i++) Report(s[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...