Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

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

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

Hey guys, I just found out about policy based data structures implemented in C++ STL (here), is it allowed/possible to use them on IOI?

(I understand that will highly probably won't need it on IOI because of style of problems, but still...)

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

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

Yes, it is allowed to use them if the C++ compiler in the contest supports them, and most probably it will. It's a good idea to test this during the practice session if you consider using them.

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится +19 Проголосовать: не нравится

Another similar question:

Is it allowed to use "#pragma GCC optimize("O3")" ?

  • »
    »
    7 лет назад, # ^ |
      Проголосовать: нравится +9 Проголосовать: не нравится

    Sure, you can use all features that the compiler provides.

    The IOI rules specify what is not allowed. You can't use files, network etc., but otherwise there are no restrictions.

  • »
    »
    7 лет назад, # ^ |
      Проголосовать: нравится -45 Проголосовать: не нравится

    You won't need it, your solutions anyway are trash.