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

how to solve TREEWALK with BM

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

PROBLEM STATEMENT

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

History

 
 
 
 
Revisions
 
 
  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)