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

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

The same code for 580D - Кефа и блюда is accepted using GNU 13170436 and gets TLE using Microsoft compiler 13156910 . I do not know the reason for this, but I think GNU optimizes recursion more than Microsoft.

Anybody knows the reason for this ?

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

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

Auto comment: topic has been updated by mrgreen (previous revision, new revision, compare).

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

I'd advise you to find the answer yourself by using a disassembler. OllyDbg is pretty good for this purpose, IMHO.

By the way, if you don't know x86 assembly language, it'd be very useful for you as a programmer to learn it.

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

"GNU optimizes recursion more than Microsoft" this implies that a Microsoft compiler actually is able to perform hard tasks like optimization.