답안 #761886

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
761886 2023-06-20T10:58:43 Z caganyanmaz 레지스터 (IOI21_registers) C++17
0 / 100
1 ms 212 KB
#include <bits/stdc++.h>
using namespace std;

constexpr static int b = 2000;
void append_move(int t, int y);
void append_store(int t, vector<bool> v);
void append_and(int t, int x, int y);
void append_or(int t, int x, int y);
void append_xor(int t, int x, int y);
void append_not(int t, int x);
void append_left(int t, int x, int p);
void append_right(int t, int x, int p);
void append_add(int t, int x, int y);
void append_print(int t);


void construct_instructions(int s, int n, int k, int q)
{
        append_left(1, 0, 2);
        append_and(2, 0, 1);
        append_xor(3, 0, 2);
        append_right(3, 3, b-2);
        append_left(3, 3, b-1);
        append_not(3, 3);
        append_and(0, 0, 3);
        append_xor(3, 1, 2);
        append_right(3, 3, b-2);
        append_left(3, 3, b-1);
        append_not(3, 3);
        append_and(1, 1, 3);
        append_and(0, 0, 1);
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Incorrect min value
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB Incorrect min value
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Incorrect min value
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Incorrect min value
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Incorrect sorting
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Incorrect sorting
2 Halted 0 ms 0 KB -