I m having error in running all the cases for this problem as there is time limit.
Time limit in one of cases
code
@lakshay2311
hello Lakshay,
ur code is correct. the issue is from our side and it will resolve soon.
Oh, okay.But it is not even accepting my solution.
Okay. Thanks.

@lakshay2311
hello lakshay,
add this two line in ur code to pass all test cases
ios_base::sync_with_stdio(false);
cin.tie(NULL);
where should i add this line?
it doesnt work it showing compilation error
check this
sorted. Thanks man for clearing the doubt. cheers 
