Submission #4598

#TimeUsernameProblemLanguageResultExecution timeMemory
4598Namnamseo짝수 정렬 (tutorial3)C++98
0 / 100
0 ms1200 KiB
#include "grader.h" #include <algorithm> void sort_even(int n,int *a){ int sorted[n]; int i,j=0; for(i=0;i<n;i++) { if(a[i]%2) { sorted[j++]=a[i]; } } std::sort(sorted,sorted+j-1); for(i=0;i<j;i++) { Report(sorted[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...