Help needed Sliding Window : run error for half test cases

TESTCASE # 1 : run-error (Time: 0.06 s)

what is run-error in my solution.
I submitted same solution on leetcode and it got accepted.

Please provide link to your code.

Please provide your code via ide.codingblocks.com