Submission #384321

#TimeUsernameProblemLanguageResultExecution timeMemory
384321vanicXoractive (IZhO19_xoractive)C++14
6 / 100
1 ms364 KiB
#include "interactive.h" #include <cmath> #include <algorithm> #include <set> #include <cassert> using namespace std; set < int > s; vector < int > guess(int n) { vector <int> ans; for (int i = 1; i <= n; i++) { ans.push_back(ask(i)); s.insert(ans.back()); } assert(s.size()==ans.size()); return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...