Submission #710

# Submission time Handle Problem Language Result Execution time Memory
710 2013-03-01T10:27:36 Z CodingIsHard 짝수 정렬 (tutorial3) C++
0 / 100
0 ms 916 KB
#include "grader.h"
#include <algorithm>

void sort_even(int N, int *A) {
    int last = 0;
    for(int i = 0;i < N;i++)
        if(A[i] & 1 == 0) A[last++] = A[i];
    std::sort(A , A + last);
    for(int i = 0;i < last;i++)
        Report(A[i]);
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 916 KB Output isn't correct
2 Halted 0 ms 0 KB -
3 Halted 0 ms 0 KB -
4 Halted 0 ms 0 KB -
5 Halted 0 ms 0 KB -
6 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 916 KB Output isn't correct
2 Halted 0 ms 0 KB -
3 Halted 0 ms 0 KB -
4 Halted 0 ms 0 KB -
5 Halted 0 ms 0 KB -
6 Halted 0 ms 0 KB -
7 Halted 0 ms 0 KB -
8 Halted 0 ms 0 KB -