Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Блог пользователя 5yearold

Автор 5yearold, история, 4 недели назад, По-английски

Hello Codeforces! I cannot include the files #include<ext/pb_ds/assoc_container.hpp> and #include<ext/pb_ds/tree_policy.hpp> in my code. They were giving me an undefined file error. So what i did was that i downloaded these files from a github repo of gcc files. This was the repo : https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/ext/pb_ds/tree_policy.hpp

Now the files were being included but the next typedef line was giving me undefined errors

what do i do now? is it such that these pbds are exclusive to the gnu/g++/gcc compilers or is there a way? Please help me. Thank you!

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

»
4 недели назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by 5yearold (previous revision, new revision, compare).

»
4 недели назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by 5yearold (previous revision, new revision, compare).