Submission #837019

#TimeUsernameProblemLanguageResultExecution timeMemory
837019FulopMateBit Shift Registers (IOI21_registers)C++17
21 / 100
1 ms212 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_move(1, 0); append_right(1, 1, 1); append_and(0, 0, 1); return; } append_move(1, 0); append_right(0, 0, 2); append_and(3, 1, 0); append_move(5, 3); append_right(5, 5, 1); append_or(6, 3, 5); append_not(6, 6); append_move(7, 1); append_move(8, 1); append_right(8, 8, 1); append_or(9, 7, 8); append_move(10, 0); append_move(11, 0); append_right(11, 11, 1); append_or(12, 10, 11); vector<bool> asd(2000); asd[0] = 1; append_store(13, asd); append_and(13, 13, 6); append_and(13, 13, 9); append_and(13, 13, 12); append_or(0, 13, 3); return; }
#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...