Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

Does Codeforces Online Judge allow us to use Boost Library for C++ ?

It would help and ease the issue of big integers...

Or what is the alternative for that ? Obviously I can handle using mod at times...but any other easy alternative?

Any suggestion is much appreciated :)

Thanks :)

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

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

Easy alternative is to use Python.

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

Copy bigint implementation from other people's codes. Really fast multiplication is important, for example.

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

    Are you allowed to copy other's people's code? Doesn't it get caught by the plagiarism checker?

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

      No, doing it is similar to use inbuilt libraries as codeforces rules unless you use code that wasn't created before the contest started.

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

      As much as you're allowed to plagiarize the C++ standard library.