Submission #938433

#TimeUsernameProblemLanguageResultExecution timeMemory
938433Ghulam_JunaidCop and Robber (BOI14_coprobber)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>

using namespace std;

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

Compilation message (stderr)

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[][]){
      |                       ^~~~