Submission #517211

# Submission time Handle Problem Language Result Execution time Memory
517211 2022-01-22T17:33:43 Z PiejanVDC Bit Shift Registers (IOI21_registers) C++17
0 / 100
1 ms 272 KB
#include "registers.h"
#include <bits/stdc++.h>
using namespace std;

const int m = 100;
const int b = 2000;

void construct_instructions(int s, int n, int k, int q) {
	vector<bool>v(b,1);
	v[b-1] = 0;
    if(k == 1) {
    	append_left(0, b - 1, 0);
    } else {
    	append_left(0,b-2,0);
    }
    return;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 204 KB Wrong answer detected in grader
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 204 KB Wrong answer detected in grader
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Wrong answer detected in grader
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 272 KB Wrong answer detected in grader
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 204 KB Wrong answer detected in grader
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 204 KB Wrong answer detected in grader
2 Halted 0 ms 0 KB -