When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

filippos's blog

By filippos, history, 4 years ago, In English

I remember that something like an year ago someone showed me a problem on some OJ where it was required to answer queries on a tree. This might sound super common, but the cool thing about the problem was that a lot of different types of queries could be asked, iirc there were at least 7 or even 8 different kind of queries.

Does anyone recall a similar problem? Thanks!

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +8 Vote: I do not like it
  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    It was exactly this one, wow! Thank you so much :)