Submission #619219

# Submission time Handle Problem Language Result Execution time Memory
619219 2022-08-02T10:33:57 Z Drew_ Xoractive (IZhO19_xoractive) C++17
6 / 100
1 ms 208 KB
#include "interactive.h"
#include <bits/stdc++.h>
using namespace std;

vector<int> guess(int n)
{
	vector<int> v(n);
	iota(v.begin(), v.end(), 1);

	vector<int> ans = v;
	for (int &i : ans)
		i = ask(i);

	return ans;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 208 KB Output is correct
2 Correct 1 ms 208 KB Output is correct
3 Correct 0 ms 208 KB Output is correct
4 Correct 0 ms 208 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 208 KB Output isn't correct
2 Halted 0 ms 0 KB -