Submission #685184

#TimeUsernameProblemLanguageResultExecution timeMemory
685184heeheeheehaawMouse (info1cup19_mouse)C++17
0 / 100
1 ms208 KiB
#include <iostream> #include "grader.h" using namespace std; void solve(int n) { vector<int> q(n, 0); vector<int> rez(n, 0); for(int i = 1; i <= n; i++) { for(int j = 0; j < n; j++) { q[j] = i; if(query(q) == 1) { rez[j] = i; break; } q[j] = 0; } } query(rez); return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...