#include "registers.h"
const int m = 1000, b = 2000;
void construct_instructions(int s, int n, int k, int q) {
append_move(1,0);
append_move(2, 0);
append_right(2, 2, k);
append_left(1,1,b-k);
append_right(1,1,b-k);
append_move(3,1);
append_right(3,3,1);
append_move(4,1);
append_left(4,4,b-1);
append_right(4,4,b-1);
append_move(5,2);
append_right(5,5,1);
append_move(6,2);
append_left(6,6,b-1);
append_right(6,6,b-1);
append_or(7,3,4);
append_or(8,5,6);
append_and(9,3,5);
append_and(10,7,8);
append_add(0,9,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... |