Submission #1294

# Submission time Handle Problem Language Result Execution time Memory
1294 2013-07-01T09:54:05 Z yourID 짝수 정렬 (tutorial3) C++
0 / 100
0 ms 912 KB
#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 time Memory Grader output
1 Incorrect 0 ms 912 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 912 KB Output isn't correct
2 Halted 0 ms 0 KB -