Submission #320899

#TimeUsernameProblemLanguageResultExecution timeMemory
320899shrek12357Cop and Robber (BOI14_coprobber)C++14
Compilation error
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); const int MAXN = 505; int start(int N, bool A[][]) { return 1; } int nextMove(int R) { return R; }

Compilation message (stderr)

coprobber.cpp:20:23: error: declaration of 'A' as multidimensional array must have bounds for all dimensions except the first
   20 | int start(int N, bool A[][]) {
      |                       ^