Are lambda functions slow?

Revision en1, by machhra, 2021-12-13 15:40:53

Why did this solution TLE but it passed when I converted the lambda functions to normal ones? Am I doing something wrong here or can lambda functions have this big an overhead?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English machhra 2021-12-13 15:40:53 326 Initial revision (published)