Submission #50701

#TimeUsernameProblemLanguageResultExecution timeMemory
50701zetapiCave (IOI13_cave)C++14
13 / 100
23 ms640 KiB
#include "cave.h"
#include "bits/stdc++.h"
using namespace std;

const int MAX=1e5;

void exploreCave(int N) 
{
    /* ... */
    int arr[MAX],other[MAX];
    for(int A=0;A<N;A++)
    	arr[A]=0,other[A]=0;
    for(int A=0;A<N;A++)
    {
    	other[A]=1;
    	arr[A]=tryCombination(other);
    	other[A]=0;
    }
    answer(other,arr);
    return ;
}
#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...