이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "registers.h"
#include <bits/stdc++.h>
using namespace std;
void construct_instructions(int s, int n, int k, int q) {
if(k == 1){
append_move(1, 0);
append_right(1, 1, 1);
append_and(0, 0, 1);
return;
}
append_move(1, 0);
append_right(0, 0, 2);
append_and(3, 1, 0);
append_move(5, 3);
append_right(5, 5, 1);
append_or(6, 3, 5);
append_not(6, 6);
append_move(7, 1);
append_move(8, 1);
append_right(8, 8, 1);
append_or(9, 7, 8);
append_move(10, 0);
append_move(11, 0);
append_right(11, 11, 1);
append_or(12, 10, 11);
vector<bool> asd(2000);
asd[0] = 1;
append_store(13, asd);
append_and(13, 13, 6);
append_and(13, 13, 9);
append_and(13, 13, 12);
append_or(0, 13, 3);
return;
}
# | 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... |