Submission #433557

#TimeUsernameProblemLanguageResultExecution timeMemory
433557SAADConnecting Supertrees (IOI20_supertrees)C++17
Compilation error
0 ms0 KiB
#include <iostream>
#include <math.h>
#include <algorithm>
int n;
int construct(int[][] p) {
    return 1 ;
}
void build(int[][] b) {
    
}

Compilation message (stderr)

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) {
      |                    ^