This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "registers.h"
void construct_instructions(int s, int n, int k, int q) {
append_right(2, 0, k);
append_left(0, 0, 2000 - k);
append_right(0, 0, 2000 - k);
append_not(3, 2);
append_or(4, 0, 3);
append_and(5, 0, 3);
append_right(4, 4, 1);
append_right(9, 5, 1);
append_and(6, 4, 5);
append_or(6, 9, 6);
append_left(7, 6, 1);
append_or(6, 6, 7);
append_and(8, 0, 6);
append_xor(2, 2, 8);
append_and(8, 2, 6);
append_xor(0, 0, 8);
append_and(8, 0, 6);
append_xor(2, 2, 8);
append_left(2, 2, k);
append_or(0, 0, 2);
}
# | 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... |