Submission #1091065

#TimeUsernameProblemLanguageResultExecution timeMemory
1091065AndreasKCave (IOI13_cave)C++14
12 / 100
8 ms548 KiB
#include <bits/stdc++.h> #include "cave.h"; using namespace std; #define designed ios_base::sync_with_stdio(0); #define by cin.tie(0); #define AndreasK cout.tie(0); //#define int long long #define ii pair <int, int> #define vi vector <int> #define iii pair <int, ii> #define vii vector <ii> #define vc vector <char> #define vb vector <bool> void exploreCave(int n) { int a[n] = {}; int b[n]; for (int c = 0; c < n; c++) b[c] = c; int x = tryCombination(a); /*int x; cin >> x;*/ while (x != -1) { a[x] = 1; x = tryCombination(a); //cin >> x; } /*for (auto aek : a) cout << aek << ' ';*/ answer(a, b); } /*int32_t main() { designed by AndreasK int n; cin >> n; exploreCave(n); return 0; }*/

Compilation message (stderr)

cave.cpp:2:18: warning: extra tokens at end of #include directive
    2 | #include "cave.h";
      |                  ^
#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...