Hello codeforces↵
This is Aryan I am new to competitive programming! I was participating in Code-O-Fiesta in codechef right now(The contest is over now) I had a doubt in this problem:\n↵
[The Problem Link](http://https://www.codechef.com/COF2020/problems/COFOCTP2)↵
↵
I had solved it in one of the way I think is correct this is my solution\n↵
[My solution link](https://www.codechef.com/viewsolution/38976384)↵
↵
This solution works perfectly on the testcases and some random cases I made myself But it still shows wrong answer.↵
↵
As the contest was over I looked into some of the solutions in my language but I was not able to understand them :(↵
Can anyone help me!!↵
Thanks a lot!!↵
↵
This is Aryan I am new to competitive programming! I was participating in Code-O-Fiesta in codechef right now(The contest is over now) I had a doubt in this problem:\n↵
[The Problem Link](http://https://www.codechef.com/COF2020/problems/COFOCTP2)↵
↵
I had solved it in one of the way I think is correct this is my solution\n↵
[My solution link](https://www.codechef.com/viewsolution/38976384)↵
↵
This solution works perfectly on the testcases and some random cases I made myself But it still shows wrong answer.↵
↵
As the contest was over I looked into some of the solutions in my language but I was not able to understand them :(↵
Can anyone help me!!↵
Thanks a lot!!↵
↵