# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
247341 | 2020-07-11T08:51:36 Z | oolimry | Mouse (info1cup19_mouse) | C++14 | 0 ms | 0 KB |
#include <bits/stdc++.h> #include "grader.h" using namespace std; void solve(int N){ vector<int> v; for(int i = 1;i <= N;i++) v.push_back(i); do{ int score = query(v); if(score == N) return 0; }while(next_permutation(v.begin(),v.end())); }