Submission #1295

#TimeUsernameProblemLanguageResultExecution timeMemory
1295yourID짝수 정렬 (tutorial3)C++98
60 / 100
0 ms916 KiB
#include"grader.h" #include<algorithm> int a[10]; int an; void sort_even(int N,int *A) { int i; an=0; if(N==5)return; for(i=0;i<N;i++)if(A[i]%2==0)a[an++]=A[i]; std::sort(a,a+an); for(i=0;i<an;i++)Report(a[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...