Help me in solving SLOWSOLN problem

My issue

What is T explain

My code

# cook your dish here

Problem Link: Slow Solution Practice Coding Problem - CodeChef

@murugesansupri
T is the total number of test cases.