# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1196274 | Amr | 레지스터 (IOI21_registers) | C++20 | 0 ms | 0 KiB |
#include "registers.h"
void construct_instructions(int s, int n, int k, int q) {
for(int i = 1; i < n; i++)
{
append_right(i,0,i*k);
}
for(int i = n-1; i >= 1; i--)
{
and(i-1,i,i-1);
}
}