답안 #625913

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
625913 2022-08-11T02:03:13 Z palilo 질문 (CEOI14_question_grader) C++17
0 / 100
2409 ms 24116 KB
auto encode(int n, int x, int y) -> int {
    const auto z = x ^ y;
    for (int i = 0;; ++i) {
        if (z >> i & 1) {
            return (i + 1) << 1 | (y >> i & 1);
        }
    }
}
auto decode(int n, int q, int h) -> int {
    return ((q >> (h >> 1)) ^ h) & 1;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2326 ms 24116 KB wrong answer
2 Incorrect 2409 ms 24080 KB wrong answer