SCU 2014 Training Weekly 2

B: Secret Polynomial