I voted to close as a dupe/too localized and then answered the question.
My solution is correct, It got +1/-4 but OP accepted it. the comments on my answers are saying you should not answer a dupe, or you answered and closed, so that I will earn points. Few thinking as answer is incorrect so got downvotes.
Now I want to delete the answer, I commented and asked OP to un-accept but he is not doing so, can I flag it to moderator?