Experience:
Waste
But no expression seen before T1 look and find the divisors, with f (a * b) = f (a) * f (b), but not a good rule application
T2 with the point of thinking, but did not expect to use the suffix and clear thinking, and simplified implementation did not engage in out
T3 randomization should learn about, or very useful
Mentality: Thinking little on the test, so that is very painful to think of how to do, and then abandoned therapy and life began to doubt, a serious decline in the ability to think, the poor state of the country this week, leaving only 70 days, and September has just begun, the whole 30-day training camp half
Really started, every day should be fruitful, we should have an exam every effect
answer:
Formula T1 find the divisors of: a ^ b prime factorisation, the contribution of each prime number is $ 1 + p + p ^ 2 + ... + p ^ {ci} $ then take up,
T2 is transformed first: where each suffix is to see, denoted by 1 each is 0 is -1, then only when the suffix is <= - 2 can not meet the requirements,
How that move? Can be found in a few c == 0 to the front,
And worst of all situations is to put at the head 0,
So the question is transformed into a movement as little as possible so that each suffix 0> = - 1
Suffix string is assumed -4 -3 -2 -1, ans is then - (- 4) -1