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 <vector>
#include <algorithm>
using namespace std;
vector<int> guess(int n) {
vector<int> ans;
for (int i = 1; i <= n; i++) {
ans.push_back(ask(i));
}
sort(ans.begin(), ans.end());
return ans;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |