is there any limit to the no. of submission.

iafter every submission it says wrong answer .but i am getting corect o/p in my editor.

You are not printing new line character ('\n') after each test case, try that. Next time please read this please and contest related question should be asked on editorial pages :wink: