| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1353058 | lukaye_19 | Art Collections (BOI22_art) | C++20 | 0 ms | 344 KiB |
#include "art.h"
#include <bits/stdc++.h>
using namespace std;
vector<int>valid;
void perm(int N,vector<int>t)
{
if (valid.size()) return;
for (int i = 0; i < N; i++)
{
t.push_back(N);
perm(N - 1,t);
}
if (N == 0)
{
int complaints = publish(t);
if (complaints == 0) valid = t;
}
}
void solve(int N)
{
perm(N,{});
answer(valid);
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
