Submission #1292

#TimeUsernameProblemLanguageResultExecution timeMemory
1292yourID짝수 정렬 (tutorial3)C++98
0 / 100
0 ms912 KiB
#include"grader.h" void sort_even(int N,int *A) { if(A[0]%2==0&&A[1]%2==0) { if(A[0]<A[1]) { Report(A[0]); Report(A[1]); } else { Report(A[1]); Report(A[0]); } } else { if(A[0]%2==0)Report(A[0]); if(A[1]%2==0)Report(A[1]); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...