Submission #953541

#TimeUsernameProblemLanguageResultExecution timeMemory
953541Trisanu_DasBit Shift Registers (IOI21_registers)C++17
21 / 100
1 ms420 KiB
#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 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...