Not exactly.
Hahaha. BTW, I agree with you bro. Tell me wherever I could be of help
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
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
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.