L - Fox and Number Game
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Fox Ciel is playing a game with numbers now.
Ciel has n positive integers: x1, x2,
..., xn. She can do the following operation as many times as needed: select two different indexes iand j such
that xi > xj hold, and then apply assignment xi = xi - xj.
The goal is to make the sum of all numbers as small as possible.
Please help Ciel to find this ......
阅读全文