제출 #1027963

#제출 시각아이디문제언어결과실행 시간메모리
1027963edogawa_something레지스터 (IOI21_registers)C++17
21 / 100
1 ms348 KiB
#include "registers.h" #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<ll> vii; typedef pair<ll,ll> pii; #define F first #define S second #define pb push_back #define all(v) v.begin(),v.end() const ll M=2e5+10; const ll inf=2e18; void construct_instructions(int s, int n, int k, int q) { append_right(1,0,2); append_right(2,0,1); append_right(3,0,3); append_and(4,0,1); append_not(5,0); append_not(6,3); append_and(7,2,1); append_and(8,7,5); append_and(9,8,6); append_or(10,1,2); append_or(11,10,5); append_or(12,11,6); append_not(12,12); append_xor(13,9,12); vector<bool>v(2000,0); v[0]=1; append_store(14,v); append_and(13,13,14); append_add(4,4,13); append_move(0,4); }
#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...