Submission #247174

#TimeUsernameProblemLanguageResultExecution timeMemory
247174shenxyMouse (info1cup19_mouse)C++14
6.00 / 100
3013 ms384 KiB
#include "grader.h" #include <algorithm> #include <vector> using namespace std; void solve(int N) { vector<int> a; for (int i = 1; i <= N; ++i) a.push_back(i); while (true) { if (query(a) == N) return; next_permutation(a.begin(), a.end()); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...