| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 623957 | Hanksburger | Bit Shift Registers (IOI21_registers) | C++17 | 1 ms | 252 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "registers.h"
#include <bits/stdc++.h>
using namespace std;
void construct_instructions(int S, int N, int K, int Q)
{
if (S==0 && N==2 && K==1)
{
append_right(1, 0, 1);
append_and(0, 0, 1);
}
else
{
append_right(1, 0, 1);
append_not(1, 1);
append_right(2, 0, 3);
append_and(3, 1, 2);
append_xor(4, 1, 2);
append_right(5, 0, 0);
append_not(5, 5);
append_right(6, 0, 2);
append_print(1);
append_print(2);
append_print(3);
append_print(4);
append_print(5);
append_print(6);
append_and(7, 4, 5);
append_and(7, 7, 6);
append_or(7, 7, 3);
append_left(7, 7, 1999);
append_right(7, 7, 1999);
append_left(8, 7, 1);
append_print(7);
append_or(7, 7, 8);
append_and(9, 0, 7);
append_not(7, 7);
append_right(0, 0, 2);
append_print(7);
append_and(10, 0, 7);
append_or(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... | ||||
