# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
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);
}
}