Submission #1072345

# Submission time Handle Problem Language Result Execution time Memory
1072345 2024-08-23T17:15:34 Z Ahmed57 Bit Shift Registers (IOI21_registers) C++17
0 / 100
1 ms 348 KB
#include "registers.h"
#include "bits/stdc++.h"
 
using namespace std;
void construct_instructions(int s, int n, int k, int q){
    append_not(2,1);
    append_add(3,2,0);
    append_right(3,3,k);
    for(int i = 0;i<k-1;i++){
        append_left(4,3,1);
        append_or(3,3,4);
    }
    append_move(5,3);
    append_not(5,5);
    append_or(3,3,1);
    append_or(5,5,0);
    append_or(0,3,5);
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Incorrect min value
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Incorrect min value
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Incorrect min value
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Incorrect min value
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Incorrect sorting
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Incorrect sorting
2 Halted 0 ms 0 KB -