제출 #396616

#제출 시각아이디문제언어결과실행 시간메모리
396616ak2006동굴 (IOI13_cave)C++14
컴파일 에러
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);
}

컴파일 시 표준 에러 (stderr) 메시지

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