Help Needed

I am getting WA in the problem

my solution
https://www.codechef.com/viewsolution/39315518
can anyone tell me where this solution is failing @kaalbhairav01 @ssrivastava990

ECPC10D - Editorial

I will solve this question later till u can go through editorial and ask there.

okay, thank you, in the problem statement there was no editorial link, that’s why asked here !

2 Likes

no problem , search in discuss by using Question Tag in top right

1 Like

ECPC10D - Editorial, here’s the editorial, i’ll have a look on your sol as well till then, @ssrivastava990 didn’t notice you already did that, thanks :smile:

1 Like

@anshu23_1999 CodeChef: Practical coding for everyone, i did some changes to your code according to my approach, its AC now

1 Like

thank you , even from the editorial I got some test cases where my solution was failing .

1 Like