제출 #1359326

#제출 시각아이디문제언어결과실행 시간메모리
1359326cansu_mutlu동굴 (IOI13_cave)C++20
12 / 100
4 ms344 KiB
#include "cave.h"
#include<bits/stdc++.h>
using namespace std;
void exploreCave(int n) {
    int a[n];
    for(int i=0;i<n;i++) a[i]=0;
    int num = 0;
    int b[n];
    for(int i=0;i<n;i++) b[i]=i;
    while(1)
    {
        num = tryCombination(a);
        if(num==-1) 
        {
            answer(a,b);
            return;
        }
        a[num] = 1-a[num];
    }
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…