Submission #50700

#TimeUsernameProblemLanguageResultExecution timeMemory
50700zetapiCave (IOI13_cave)C++14
0 / 100
22 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=1;A<=N;A++)
    	arr[A]=0,other[A]=0;
    for(int A=1;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...