Submission #433557

# Submission time Handle Problem Language Result Execution time Memory
433557 2021-06-20T06:53:53 Z SAAD Connecting Supertrees (IOI20_supertrees) C++17
Compilation error
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) {
      |                    ^