left right september problem

Is test cases in this program is right for JAVA developers ?
I am getting wrong answer and I have noticed only c & c++ programmer have submitted the code.
I think all java programmer are facing some problem and It can be related to your test cases.

Nope many java programs have got AC

@prosunmaity: check all submissions, there are accepted java solutions. link There is nothing wrong with the testcases.