5x optimization???

Revision en1, by Tutis, 2019-06-24 15:22:47

I was solving this problem and after I solved it by myself I decided to implement editorial's solution. Strangely my first submission was really slow 55982450, but after changing the order of dimensions it got 5x faster 55999256.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Tutis 2019-06-24 15:22:47 322 Initial revision (published)