Submission #248952

#TimeUsernameProblemLanguageResultExecution timeMemory
248952REALITYNBCave (IOI13_cave)C++14
12 / 100
22 ms512 KiB
#include <bits/stdc++.h> #include "cave.h" using namespace std ; void exploreCave(int n ){ cin>> n ; int a[n] ; memset(a,0,sizeof a) ; int door = 0 ; for(;door<n;door++){ int ans = tryCombination(a) ; if(ans==door){ a[door] = 1 ; } } int aa[n] ; for(int i=0;i<n;i++)aa[i] = i ; answer(a,aa) ; 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...