제출 #689755

#제출 시각아이디문제언어결과실행 시간메모리
689755coding_snorlax레지스터 (IOI21_registers)C++17
컴파일 에러
0 ms0 KiB
void construct_instructions(int s,int n,int k,int q){ while(n>1){ append_right(1,0,(n/2)*k); append_and(0,0,1); n=n-n/2; } return; }

컴파일 시 표준 에러 (stderr) 메시지

registers.cpp: In function 'void construct_instructions(int, int, int, int)':
registers.cpp:3:9: error: 'append_right' was not declared in this scope
    3 |         append_right(1,0,(n/2)*k);
      |         ^~~~~~~~~~~~
registers.cpp:4:9: error: 'append_and' was not declared in this scope
    4 |         append_and(0,0,1);
      |         ^~~~~~~~~~