| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 953541 | Trisanu_Das | Bit Shift Registers (IOI21_registers) | C++17 | 1 ms | 420 KiB |
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(1, 0, k);
if(k == 1) append_and(0, 0, 1);
else {
append_and(2, 1, 0);
append_left(3, 0, 1);
append_left(4, 1, 1);
append_and(5, 4, 0);
append_and(6, 3, 1);
append_xor(7, 6, 5);
append_not(8, 2);
append_and(9, 8, 7);
append_left(10, 9, 1998);
append_right(10, 10, 1999);
append_or(0, 10, 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... | ||||
