Tag Archives: modulo arithmetic

Facebook Hacking Cup – Round 2 – Scott’s New Trick – Solution

Preparation This problem needs some module arithmetic concepts before we can give a solution.

Posted in Programming | Tagged , , , , | 2 Comments

Facebook Hacking Cup – Round 2 – Scott’s New Trick

Description Little Scott recently learned how to perform arithmetic operations modulo some prime number P. As a training set he picked two sequences a of length N and b of length M, generated in the following way:

Posted in Programming | Tagged , , , | Leave a comment