| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1368484 | bronze_coder | Unscrambling a Messy Bug (IOI16_messy) | C++20 | 1 ms | 344 KiB |
#include "messy.h"
#include <bits/stdc++.h>
using namespace std;
vector<int> restore_permutation(int n,int w,int r){
string s(n,'0');
for(int i=0;i<n;i++){
s[i] = '1';
add_element(s);
}
compile_set();
string s1(n,'0');
vector<int> ans(n);
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
if(s1[j]=='0'){
s1[j] = '1';
if(check_element(s1)){
ans[j] = i;
break;
}
else{
s1[j] = '0';
}
}
}
}
return ans;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
