Please let me know the error in my code

Running median

nstead of float use int
because in question it is not mention to print answer with decimal

also print endl after each testcase
so that output of every testcase comes in a newline

I have made the changes but the code is still not working .It is only working properly if there is one test case

i have done some changes
check now it will pass all testcases

Thank you for the help Can you please explain the usage of int32_t main.

if i decalare int as long long int
so int main() will become long long int main()
but main should return int only
hence i explicitly mention that it is int32_t main()
int32_t means 32 bit integer