|
Download benchmarks/Algorithms/max_sum_increasing_sequence/problem.md from PV-SJTU/PV-Bench: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/max_sum_increasing_sequence/problem.md
- Command line
-
hf download hf://datasets/PV-SJTU/PV-Bench/benchmarks/Algorithms/max_sum_increasing_sequence/problem.md
-
curl -L -o problem.md https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/max_sum_increasing_sequence/problem.md
513 Bytes
Maximum-Sum Increasing Subsequence
Description
Among all strictly increasing subsequences, find the maximum possible sum of selected values.
Input
The verification-case input consists of an integer array nums, its length, and a writable DP buffer.
Output
The function produces the maximum sum of a strictly increasing subsequence.
Constraints
- $1 \le numsSize \le 100000$ and $1 \le nums_i \le 10000$.
Source
Classical algorithmic problem reconstructed from the verified C artifact.