I tried many times but all WA.The code on the Internet can`t solve the problem properly.
So how to work it out?
(I`ve tried the method of Binomials)
P.S.:My English is poor,don`t be strict.