问题ID POJ2479
Maximum sum
Time Limit: 1000MS | Memory Limit: 65536K | |
Total Submissions: 28229 | Accepted: 8626 |
Description
Given a set of n integers: A={a1, a2,..., an}, we define a function d(A) as below:
Your task is to calculate d(A).
Input
The