Submission #1176041

#TimeUsernameProblemLanguageResultExecution timeMemory
1176041hy_1Tree (IOI24_tree)C++20
Compilation error
0 ms0 KiB
#include "tree.h"
#include <bitstdc++.h>

int n;
std::vector<int> p, w;

void init(std::vector<int> P, std::vector<int> W) {
  p = P;
  w = W;
  n = (int)p.size();
}

long long query(int L, int R) {
  // return n * (long long)(R - L);
  return 0;
}

Compilation message (stderr)

tree.cpp:2:10: fatal error: bitstdc++.h: No such file or directory
    2 | #include <bitstdc++.h>
      |          ^~~~~~~~~~~~~
compilation terminated.