Submission #345658

#TimeUsernameProblemLanguageResultExecution timeMemory
345658ahmetXoractive (IZhO19_xoractive)C++14
6 / 100
1 ms364 KiB
#include "interactive.h" #include <bits/stdc++.h> using namespace std; #define pb push_back vector<int> guess(int n) { vector <int> ans; int ilk=ask(1); ans.pb(ilk); for (int i = 2; i <= n; i++) { vector <int> lol=get_pairwise_xor({1,i}); ans.pb(lol[3]^ilk); } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...