#include "registers.h"
void construct_instructions(int s, int n, int k, int q) {
append_move(11,0);
append_right(12,0,1);
append_xor(13,11,12);
append_right(2,0,2);
append_move(1,0);
append_and(0,1,2);
append_xor(3,1,2);
append_right(4,3,1);
append_move(5,3);
append_and(6,4,5);
append_and(6,6,13);
append_left(7,6,1999);
append_right(7,7,1999);
append_or(0,0,7);
//for(int i=0;i<=13;i++)append_print(i);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
344 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Output is correct |
# |
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 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 |
- |