URAL 1727. Znaikas Magic Numbers(数学 vector)

Znaika has many interests. For example, now he is investigating the properties of number sets. Znaika writes down some set consisting of different positive integers (he calls this set ageneratingset), calculates the sum of all the written digits, and writes down the result in a special notebook. For example, for a generating set 7, 12, 43, he will write down the number17 = 7 + 1 + 2 + 4 + 3. Znaika is sure that onlymagicnumbers can appear as a result of this operation.

,人,总是很难改正自己的缺点,

URAL 1727. Znaikas Magic Numbers(数学 vector)

相关文章:

你感兴趣的文章:

标签云: