Not able to take input ? showing some error in code while running

You didn’t take input for the number of test cases. So just add cin>>t before the while loop.

yeah git it bro,thanks

1 Like