| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1196361 | Amr | 레지스터 (IOI21_registers) | C++20 | 0 ms | 328 KiB |
#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(11,2,1);
append_xor(6,3,4);
append_xor(7,11,5);
append_and(8,6,7);
append_print(8);
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... | ||||
