#luogsj0112. 【深基7.习6】集合求和
【深基7.习6】集合求和
Title Description
Given a set (number of set elements ), calculate the sum of all subset elements in this set.
Input format
The elements in the collection (element )
Output format
The sum of all subset elements.
2 3
10
Reminder
[Example Explanation]
The subsets are: , and .
[Data Range]
For data of , , , the sum of all subset elements .