Submission #790412

#TimeUsernameProblemLanguageResultExecution timeMemory
790412alexander707070Bit Shift Registers (IOI21_registers)C++17
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #include "registers.h" #define MAXN 200007 using namespace std; void construct_instructions(int s, int n, int k, int q){ append_move(2,1); move_right(1,1,k); move_left(2,2,n-k); move_right(2,2,n-k); }

Compilation message (stderr)

registers.cpp: In function 'void construct_instructions(int, int, int, int)':
registers.cpp:9:5: error: 'move_right' was not declared in this scope
    9 |     move_right(1,1,k);
      |     ^~~~~~~~~~
registers.cpp:11:5: error: 'move_left' was not declared in this scope
   11 |     move_left(2,2,n-k);
      |     ^~~~~~~~~