Submission #4600

#TimeUsernameProblemLanguageResultExecution timeMemory
4600Namnamseo짝수 정렬 (tutorial3)C++98
100 / 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); for(i=0;i<j;i++) { Report(sorted[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...