Chef and Strings(STRQ)

Getting SIGSEGV in 2nd and 3rd test case of STRQ.

check constraints properly.

Also, please don’t ask for help during live contest!

if you have problem regarding explaination to problem statement then ok, else try to do it yourself.Debugging is a skill and you will learn it, or see editorial at end if you could’nt solve it during contest.