Status: IN
`bisect_right` on the prefix sum array requires strictly non-decreasing prefix sums, which holds only when all values in `nums` are positive; zero or negative values would break monotonicity and produce wrong answers.
Source: entries/2026/06/06/longest-subsequence-with-limited-sum-solution.md