Submission #568

#TimeUsernameProblemLanguageResultExecution timeMemory
568gs13068짝수 정렬 (tutorial3)C++98
0 / 100
0 ms912 KiB
#include"grader.h" void sort_even(int n,int *a) { int i,j,t; for(i=0;i<n;i++){if(a[i]%2)continue;for(j=i+1;j<n;j++){if(a[j]%2)continue;if(a[i]<a[j]){t=a[i];a[i]=a[j];a[j]=t;}}} for(i=0;i<n;i++)Report(a[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...