{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"给定长度n的整数数组,以及整数s,求出总和不小于s的子数组长度的最小值。\n\n"}},{"title":"Input","value":{"format":"MD","content":"第一行输入n和s,第二行输入n个正整数。\n"}},{"title":"Output","value":{"format":"MD","content":"找到满足要求的子数组的最小长度,如果没有,输出0。\n"}},{"title":"Sample Input","value":{"format":"MD","content":"```\n2\n10 15\n5 1 3 5 10 7 4 9 2 8\n5 11\n1 2 3 4 5\n```"}},{"title":"Sample Output","value":{"format":"MD","content":"```\n2\n3\n```"}}]}