제출 #992790

#제출 시각아이디문제언어결과실행 시간메모리
992790emad234동굴 (IOI13_cave)C++17
컴파일 에러
0 ms0 KiB
#include "bits/stdc++.h" #define F first #define S second #define ll long long #define pii pair<ll,ll> const int mxN = 4e6 + 5; const int mod = 1e9 + 7; using namespace std; void exploreCave(int N) { int c[N] = {},ans[N]; for(int i = 0;i < N;i++){ c[i] = 1; int x = tryCombination(c); ans[i] = x; } c[N] = 0; answer(c,ans); }

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

cave.cpp: In function 'void exploreCave(int)':
cave.cpp:14:17: error: 'tryCombination' was not declared in this scope
   14 |         int x = tryCombination(c);
      |                 ^~~~~~~~~~~~~~
cave.cpp:18:5: error: 'answer' was not declared in this scope
   18 |     answer(c,ans);
      |     ^~~~~~