Problem link: http://www.codechef.com/problems/RRMTRX2
I am not getting the below lines of problem
Consider every possible vector v of m elements, such that every 1 ≤ vi ≤ n.
Let value of the vector be product of all Avi, i (1 ≤ i ≤ m). You are to count the sum of values over all possible vectors v.
What is vi ??and how vi changes when i changes?? How to choose Avi,i ?? Can i choose numbers from same
position multiple times??. So these things i am not getting??
I think problem is given in weird form.Plz help