{"code":"twopointeriib","name":"Two pointer 2B","description":"Cho một mảng $a$ gồm $n$ số nguyên. Ta định nghĩa một đoạn con $a[l\\dots r] (1\\le l \\le r)$ của mảng là tốt nếu tổng các phần tử của nó ít nhất là $s$. Nhiệm vụ của bạn là tìm đoạn con \"tốt\" có độ dài ngắn nhất.\r\n\r\n## Input\r\n- Dòng đầu tiên chứa các số $n$ và $s (1 \\le n \\le 10^5, 1 \\le s \\le 10^{18})$\r\n- Dòng thứ hai chứa các số nguyên $a_i (1 \\le a_i \\le 10^9)$\r\n\r\n## Output\r\n\r\n- In ra một số nguyên là độ dài của đoạn con tốt ngắn nhất. Nếu không có đoạn nào, in `-1`\r\n\r\n## Example\r\n**Sample input**\r\n\r\n    7 20\r\n    2 6 4 3 6 8 9\r\n\r\n**Sample output**\r\n\r\n    3\r\n\r\n*Nguồn: Codeforces*","points":1200.0,"partial":true,"time_limit":1.0,"memory_limit":262144,"short_circuit":false,"allowed_languages":[3,4,34,36,37,5,6,11,12,14,28,2,38,39,9,18,17,29,23,27,35,25,26,10,7,19,32,1,8,15,16,24,20,33,13,41,21,40],"is_public":true,"is_manually_managed":false,"permissions":{"can_edit":false}}