omggg's blog

By omggg, history, 4 years ago, In English

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 :)

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

| Write comment?
»
4 years ago, # |
  Vote: I like it -16 Vote: I do not like it

Easy alternative is to use Python.

»
4 years ago, # |
  Vote: I like it +16 Vote: I do not like it

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

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

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

    • »
      »
      »
      4 years ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      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 years ago, # ^ |
        Vote: I like it +9 Vote: I do not like it

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