Getting TLE verdict for not using lambda expression???
Difference between en1 and en2, changed 6 character(s)
[Problem Link](https://cses.fi/problemset/task/1076/)↵

[TLE Code](https://ideone.com/hNXb9c)↵

[AC Code](https://ideone.com/ch3nYv)↵

The only difference between the Accepted code and TLE code is that I used a lambda expression in the AC code for deleting an element from a multiset.↵
If I do the exact same thing but without the lambda expression, it times out!!↵
What is going on here? I'm confused.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English wakaranai 2022-02-09 11:41:11 6
en1 English wakaranai 2022-02-09 11:40:44 453 Initial revision (published)