#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_right(1,0,1);
append_and(0,0,1);
}
else
{
vector<bool> v(2000,0);
v[0] = 1;
append_move(1,0);
append_move(2,0);
append_right(2,2,2);
append_right(3,1,0);
append_right(4,1,1);
append_right(5,2,0);
append_right(5,2,1);
append_xor(6,3,4);
append_xor(7,4,5);
append_and(8,6,7);
append_xor(9,1,2);
append_right(9,9,1);
append_and(8,8,9);
append_and(0,0,2);
append_store(10,v);
append_and(8,8,10);
append_or(0,0,8);
}
}
# | 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... |