Submission #444279

#TimeUsernameProblemLanguageResultExecution timeMemory
444279urd05Bit Shift Registers (IOI21_registers)C++17
21 / 100
1 ms204 KiB
#include "registers.h" #include <bits/stdc++.h> using namespace std; void construct_instructions(int s, int n, int k, int q) { append_move(1,0); append_move(2,0); append_right(2,2,2); append_and(0,1,2); append_print(0); vector<bool> emp(2000,0); emp[0]=1; emp[1]=1; append_store(4,emp); append_and(1,1,4); append_xor(3,1,2); emp[1]=0; append_store(4,emp); append_add(3,3,4); append_move(5,3); append_right(5,5,2); append_right(3,3,1); append_xor(3,1,3); append_right(3,3,1); append_xor(3,2,3); append_print(3); append_and(3,3,4); append_and(3,3,5); append_or(0,0,3); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...