|
|
Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language
version or invalid test data, or description of the problem is not clear.
SPOJ Problem Set (main)
6496. Biggest sum of a coherent subsequence
Problem code: B_S_C_S
|
Your task is to find the biggest sum of a coherent subsequence.
Input
There is an unknown number (less than 105) of integers which are less than 109.
Output
One single number which is the biggest sum of a coherent subsequence.
Example
Input: 1000 -100 5 -8 4 -100 1000 Output: 1801
| Added by: | Piotr K±kol |
| Date: | 2010-04-12 |
| Time limit: | 10s
|
| Source limit: | 50000B |
| Languages: | All |
|
|
|
|