이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "registers.h"
using namespace std;
/*
void append_move(int t, int y)
void append_store(int t, 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 construct_instructions(int s, int n, int k, int q) {
append_left(1, 0, 1999);
append_right(1, 1, 1999);
append_left(2, 0, 1998);
append_right(2, 2, 1999);
append_left(3, 0, 1997);
append_right(3, 3, 1999);
append_left(4, 0, 1996);
append_right(4, 4, 1999);
append_xor(5,2,4);
append_and(6,2,5);
append_and(7,4,5);
append_or(8,2,6);
append_or(9,1,6);
append_or(10,4,7);
append_or(11,3,7);
append_left(8,8,1);
append_left(10,10,1);
append_add(8,8,9);
append_add(10,10,11);
append_and(0,8,10);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |