제출 #1295683

#제출 시각아이디문제언어결과실행 시간메모리
1295683am_aadvikLibrary 3 (JOI24_library3)C++20
2 / 100
7 ms352 KiB
#include <vector> #include<algorithm> using namespace std; void solve(int N); int query(std::vector<int> a); void answer(std::vector<int> b); void solve(int n) { vector<int> p(n); for (int i = 0; i < n; ++i) p[i] = i; do { if (query(p) == 0) { answer(p); return; } } while (next_permutation(p.begin(), p.end())); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...