Please either format your code or link to your submission - the forum software has mangled it and it wonât compile! ![]()
@ssjgz Sorry its my first time heređ
No problem 
Consider a testcase where T=1, N=79987, and s consists of N 1s.
@ssjgz thank you so much for your response 
Got AC!!
Great; youâre welcome 