Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link ×

how to solve TREEWALK with BM

Revision en3, by thehumbleguy, 2018-10-22 08:35:29


gorre_morre HERE says that it can be done using BM. It would be nice if someone could tell the complete algorithm to solve it. Thank YOU

Tags linear recurrence


  Rev. Lang. By When Δ Comment
en3 English thehumbleguy 2018-10-22 08:35:29 74
en2 English thehumbleguy 2018-10-22 08:34:00 12
en1 English thehumbleguy 2018-10-22 08:33:29 240 Initial revision (published)