Submission #678263

#TimeUsernameProblemLanguageResultExecution timeMemory
678263AlcabelXoractive (IZhO19_xoractive)C++17
6 / 100
1 ms292 KiB
#include <bits/stdc++.h> #include <interactive.h> using namespace std; vector<int> guess(int n) { vector<int> ans(n); for (int i = 1; i <= n; ++i) { ans[i - 1] = ask(i); } return ans; } /* int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int T = 1; // cin >> T; while (T--) { int n; cin >> n; vector<int> ans = guess(n); for (const int& x : ans) { cout << x << ' '; } cout << '\n'; } return 0; } */
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...