正在加载……
← 返回 meta 的题目列表
Find Continuous Subarray Sum
类型:online_judge
meta Given a list of non-negative integers and a target sum, find a continuous subarray that sums up to the target sum. If no such subarray exists, return -1. Example Input 5 12 1 2 3 4 6