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

Автор padfoot1717, 3 года назад, По-английски

I was practising some atcoder problems and i really got fed up. In almost every third problem i had to ensure that no overflow is occuring while dealing with huge numbers. This really screws up your interest in the problem and significantly makes it more laborious without any reason. This makes using C++(which is quite a cp friendly language) in atcoder problems more difficult.

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

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

Look at the brighter side, AtCoder is teaching us how to deal with overflows in c++. :)

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

    But how does it help us as competitive programmers? Handling overflows in cp is not some universal or useful skill, for example python programmers don't have to worry about any such thing so isn't it unfair with C++ programmers?

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

      When looking at the general picture I don't think anything in the CP world is unfair to C++ programmers. If you really think it's unfair you are welcome to switch to Python and see where that gets you.

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

      Python can often give you TLE problems (like java) which are even more difficult to overcome than overflow problems. C++ is fast, it's good to use C++ in competitive programming.

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

inb4 they are doing this to encourage use of atcoder library

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

QUIT CP mate