Hello everyone,
I was solving the last problem from the last CF Round! http://codeforces.net/contest/676/problem/E
I can't understand why at the end of the game if P(k) = 0 then the human wins, I mean why if P(k) = 0 then it means that the polynomial P(x) is divisible by polynomial Q(x)?
I really need your help! :)