Submission #2657

#TimeUsernameProblemLanguageResultExecution timeMemory
2657domece짝수 정렬 (tutorial3)C11
0 / 100
0 ms1088 KiB
void sort_even(int N, int *A){ int i,j; for(i=0;i<N;i++){ int tmp=A[i]; int index=i; for(j=1;j<N;j++){ if(tmp>A[j]) tmp=A[j],index=j; } A[i]^=A[index]^=A[i]^=A[index]; if(A[i]%2==0) Report(A[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...