why is lambda function so slow in this case?

Правка en1, от Sederam, 2024-07-27 07:41:40

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?

Теги lambda expressions, time limit exceeded, help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Sederam 2024-07-27 07:41:40 427 Initial revision (published)