제출 #1176041

#제출 시각아이디문제언어결과실행 시간메모리
1176041hy_1트리 (IOI24_tree)C++20
컴파일 에러
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;
}

컴파일 시 표준 에러 (stderr) 메시지

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