This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |