Submission #575

#TimeUsernameProblemLanguageResultExecution timeMemory
575gs13068짝수 정렬 (tutorial3)C++98
100 / 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; } } Report(a[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...