internal error in submission, giving wrong answer

Sir, I solved this question here and submitted thrice but the system gave internal error every time. My submissions have been accounted as wrong answers without them being verified or checked. Please see into this.