Submission #8566

#TimeUsernameProblemLanguageResultExecution timeMemory
8566a555짝수 정렬 (tutorial3)C++98
100 / 100
0 ms1088 KiB
#include "grader.h" void sort_even(int N, int *A) { int i, j, b, a; for (i = 0; i < N; i++) { b = 20000; for (j = i; j < N; j++) { if (b > A[j]){ b = A[j]; a = j; } } b = A[a]; A[a] = A[i]; A[i] = b; } for (i = 0; i < N; i++) { if (!(A[i] & 1)) Report(A[i]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...