Submission #1099731

#TimeUsernameProblemLanguageResultExecution timeMemory
1099731model_codeMachine (IOI24_machine)C++17
7 / 100
430 ms696 KiB
// incorrect/nplusone-zoooma13.cpp #include <bits/stdc++.h> #include "machine.h" using namespace std; vector <int> find_permutation(int n){ vector <int> q(n); int x = use_machine(q)[0]; vector <int> p(n); for(int i = 0; i < n; i++){ q[i] = 1; auto r = use_machine(q); p[find(r.begin() ,r.end() ,x^1) - r.begin()] = i; q[i] = 0; } return p; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...