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

Автор Sederam, история, 12 часов назад, По-английски

for CSES Grid Path why does this get TLE but this get AC while the only difference between them is that in the first one a lambda function is used but in the second one a normal function instead? Or is there other differences that I`m missing?

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

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

You're copying S and dir by value on the lambda example.