Submission #820162

#TimeUsernameProblemLanguageResultExecution timeMemory
820162boyliguanhanBit Shift Registers (IOI21_registers)C++17
21 / 100
1 ms292 KiB
#include "registers.h" #define MOVE append_move #define STORE append_store #define AND append_and #define OR append_or #define XOR append_xor #define NOT append_not #define LEFT append_left #define RIGHT append_right #define ADD append_add #define print append_print void construct_instructions(int s, int n, int k, int q) { RIGHT(1,0,k); if(k==1) { AND(0,1,0); return; } AND(2, 1, 0); LEFT(3, 0, 1); LEFT(4, 1, 1); AND(5, 4, 0); AND(6, 3, 1); XOR(7, 6, 5); NOT(8, 2); AND(9, 8, 7); LEFT(10, 9, 1998); RIGHT(10, 10, 1999); 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...