제출 #938433

#제출 시각아이디문제언어결과실행 시간메모리
938433Ghulam_Junaid경찰관과 강도 (BOI14_coprobber)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>

using namespace std;

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

컴파일 시 표준 에러 (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[][]){
      |                       ^~~~