FEB-17, MAKETRI Editorial (Unofficial)

Not exactly.

:stuck_out_tongue: Hahaha. BTW, I agree with you bro. Tell me wherever I could be of help :slight_smile:

can you explain this?
interval_end[i] = min (interval_end[i], R);
this is giving WA in some cases.

Can you provide link to the code? A full view would help me debug :slight_smile:

Also, you can compare them with the reference codes too. t might be possible that the bug lies elsewhere.

Thanks for your kind words dear :slight_smile:

Did you run it against the test cases I published on discuss (under various questions- just give forums a search by problem code “MAKETRI”). If its not addressed in past and is something new, I will have a look tomorrow.