제출 #1237272

#제출 시각아이디문제언어결과실행 시간메모리
1237272AlperenT_레지스터 (IOI21_registers)C++20
21 / 100
0 ms328 KiB
#include "registers.h" void construct_instructions(int s, int n, int k, int q) { if(k == 1){ append_print(0); append_move(1 , 0); append_right(2 , 0 , 1); append_print(1); append_print(2); append_and(0 , 1 , 2); append_print(0); return; } append_move(1, 0); append_right(2, 0 , 2); append_and(0 , 1, 2) ; append_xor(3 , 1 , 2) ; append_right(4 , 3 , 1) ; // 3 , 4 append_and(30 , 3 , 4) ; append_right(5 , 1, 1) ; append_xor(31 , 5 , 1); append_and(32 , 31 , 30) ; std::vector <bool> vec ; for(int i= 0 ; i < 2000 ; i++)vec.push_back(0); vec[0]= 1; append_store(33 , vec) ; append_and(35 , 33 , 32); append_xor(0 , 0 , 35) ; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...