Submission #847384

#TimeUsernameProblemLanguageResultExecution timeMemory
847384MinaRagy06The Collection Game (BOI21_swaps)C++17
21 / 100
37 ms1664 KiB
#include <bits/stdc++.h> #include "swaps.h" #ifdef MINA #include "grader.cpp" #endif using namespace std; typedef int64_t ll; void solve(int n, int v) { for (int cur = 0; cur < n; cur++) { for (int i = (cur & 1); i + 1 < n; i += 2) { schedule(i + 1, i + 2); } visit(); } vector<int> a(n); for (int i = 0; i < n; i++) { a[i] = i + 1; } answer(a); }
#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...
#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...