Submission #396616

#TimeUsernameProblemLanguageResultExecution timeMemory
396616ak2006Cave (IOI13_cave)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include <cave.h> using namespace std; using ll = long long; using vb = vector<bool>; using vvb = vector<vb>; using vi = vector<int>; using vvi = vector<vi>; using vl = vector<ll>; using vvl = vector<vl>; using vc = vector<char>; using vvc = vector<vc>; const ll mod = 1e9 + 7,inf = 1e18; #define pb push_back #define fast ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); void explore(int n) { int is[n]; int pos = tryCombination(is); while (pos != -1){ is[pos] = !is[pos]; pos = tryCombination(is); } int val[n]; for (int i = 0;i<n;i++)val[i] = i; answer(is,val); }

Compilation message (stderr)

/tmp/cc8r8UG7.o: In function `main':
grader.c:(.text.startup+0xc): undefined reference to `exploreCave'
collect2: error: ld returned 1 exit status