답안 #433557

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
433557 2021-06-20T06:53:53 Z SAAD 슈퍼트리 잇기 (IOI20_supertrees) C++17
컴파일 오류
0 ms 0 KB
#include <iostream>
#include <math.h>
#include <algorithm>
int n;
int construct(int[][] p) {
    return 1 ;
}
void build(int[][] b) {
    
}

Compilation message

supertrees.cpp:5:21: error: multidimensional array must have bounds for all dimensions except the first
    5 | int construct(int[][] p) {
      |                     ^
supertrees.cpp:5:23: error: expected ',' or '...' before 'p'
    5 | int construct(int[][] p) {
      |                       ^
supertrees.cpp:8:18: error: multidimensional array must have bounds for all dimensions except the first
    8 | void build(int[][] b) {
      |                  ^
supertrees.cpp:8:20: error: expected ',' or '...' before 'b'
    8 | void build(int[][] b) {
      |                    ^