https://hack.codingblocks.com/contests/c/537/705
The input format’s first line should be of test cases. Please correct it.
https://hack.codingblocks.com/contests/c/537/705
The input format’s first line should be of test cases. Please correct it.
Read the input format carefully… in this ques you will be getting only 1 test case.
Two test case given in sample input are just for your reference for different types of inputs which you can get.