Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

A week with old self
Difference between en1 and en2, changed 147 character(s)
[http://petr-mitrichev.blogspot.com/2015/10/a-week-with-old-self.html](http://petr-mitrichev.blogspot.com/2015/10/a-week-with-old-self.html)↵
↵
UPD. I've originally forgot to include function extraMatrix in the code I posted, and it contains an important part of the logic. Post updated.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Petr 2015-10-17 10:35:12 147
en1 English Petr 2015-10-17 02:44:55 160 Initial revision (published)