Hi.
I solved problem 519E - A and B and Lecture Rooms using the solution suggested by the editorial and still it is slow when compared to others solutions. Mine took ~1.6s while there are some that took ~0.1s. Why is my solution so slow?
My solution: 16864045 Example of a fast one: 10141947
Thanks for the help.