int l = 1 , r = 1; while(r<=n) { r; if(s>=0&&r-l>ma)ll=l,rr=r-1,ma=r-l; else while(s<0&&l<r)s-=p[l],l; }
hello
hello