Submission #938433

# Submission time Handle Problem Language Result Execution time Memory
938433 2024-03-05T06:31:43 Z Ghulam_Junaid Cop and Robber (BOI14_coprobber) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>

using namespace std;

int start(int n, bool edge[][]){
    return 1;
}
int nextMove(int R){
    return R;
}

Compilation message

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