Submission #586624

#TimeUsernameProblemLanguageResultExecution timeMemory
586624Omar_ElgedawyCave (IOI13_cave)C++14
0 / 100
9 ms424 KiB
#include <bits/stdc++.h> //#include "grader.c" #include "cave.h" using namespace std; #define cin(vec) for(auto& i : vec) cin >> i #define cout(vec) for(auto& i : vec) cout << i << " "; cout << "\n"; #define fast ios::sync_with_stdio(0);cin.tie(0); #define loop(i,a,b) for (int i = a; i < b; i++) #define F first #define S second #define pb(n) push_back(n) #define pf(n) push_front(n) #define dci(d) fixed<<setprecision(d) #define sp ' ' #define el '\n' #define all(v) v.begin(),v.end() // #define int long long #define try tryCombination int swich[5001]; void exploreCave(int n) { int doors[n]; for(int i=0;i<n;i++){ swich[i]=1; int x=try(swich); doors[x]=i; swich[i]=0; } answer(swich,doors); }
#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...