Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

5x optimization???

Revision en1, by .__., 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.


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