Submission #134489

# Submission time Handle Problem Language Result Execution time Memory
134489 2019-07-22T20:49:15 Z thanos popa (BOI18_popa) C++14
0 / 100
6 ms 380 KB
#include<iostream>
#include<popa.h>
int solve(int N,int* Left,int* Right){
  int h=-1;
  for(int i=0; i<N; i++){
    if(query(0,i,i,N-1)){
      h=i;
      break;
    }
  }
  return h+3;
}
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 380 KB not a binary tree
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 6 ms 248 KB not a binary tree
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 320 KB not a binary tree
2 Halted 0 ms 0 KB -