제출 #320900

#제출 시각아이디문제언어결과실행 시간메모리
320900shrek12357경찰관과 강도 (BOI14_coprobber)C++14
컴파일 에러
0 ms0 KiB
#include <iostream> #include <vector> #include <algorithm> #include <string> #include <map> #include <set> #include <climits> #include <cmath> #include <fstream> #include <queue> #include <stack> #include <bitset> #include "coprobber.h" using namespace std; #define ll long long //cin.tie(0);ios_base::sync_with_stdio(0); int start(int N, bool A[MAXN][MAXN]) { return 1; } int nextMove(int R) { return R; }

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

coprobber.cpp:18:25: error: 'MAXN' was not declared in this scope; did you mean 'MAX_N'?
   18 | int start(int N, bool A[MAXN][MAXN]) {
      |                         ^~~~
      |                         MAX_N
coprobber.cpp:18:31: error: 'MAXN' was not declared in this scope; did you mean 'MAX_N'?
   18 | int start(int N, bool A[MAXN][MAXN]) {
      |                               ^~~~
      |                               MAX_N