The code is not even being accepted by the judge. I have submitted code for Problem D like four times since the last 5 minutes.
The code is not even being accepted by the judge. I have submitted code for Problem D like four times since the last 5 minutes.
I have solved the easy version of the problem. But I have no idea how to solve this one. Do I require any new algorithms? Can someone please help me solve this problem?