| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 877347 | vjudge1 | Art Collections (BOI22_art) | C++17 | 3 ms | 344 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "art.h"
#include <bits/stdc++.h>
using namespace std;
const long long maxn = 1e5;
const long long mod = 1e9+7;
const int logn=30;
void solve(int n)
{
if(n<=6)
{
vector<int>v;
for(int i=1;i<=n;i++)
{
v.push_back(i);
}
do
{
int kol=publish(v);
if(kol==0)
{
answer(v);
}
}while(next_permutation(v.begin(),v.end()));
}
/// publish(order);
/// answer(order);
}
/*
int main()
{
ios::sync_with_stdio(false);
return 0;
}
*/
Compilation message (stderr)
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
