Time limit in one of cases

I m having error in running all the cases for this problem as there is time limit.


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.

@lakshay2311
that is the issue

Okay. Thanks.
:slight_smile:

@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?

@lakshay2311
in main function

it doesnt work it showing compilation error

@lakshay2311
pls share ur updated code


check this

sorted. Thanks man for clearing the doubt. cheers :slight_smile:

@lakshay2311
… …:+1::+1::+1::+1::+1::+1:

1 Like