Stavo cercando di risolvere Problema 279-B .
Given an natural number, t, and an array, a[0],...,a[n-1], of natural numbers, find the maximum length of a continuous subarray, a[i],...,a[j] in a where a[i]+...+a[j] <= t. e.g. a=[3,1,2,1]...
posta
30.05.2016 - 15:26