I recently went to fix a late answer that was of very low quality, with bad formatting and erratic capitalization all over the place. I was about to recommend deletion until I careful read it, and notice that they accurately determine the source code written by the OP is actually plagiarized verbatim from an example here. In fact, there are no differences whatsoever in between the original code and the example they claim to have "made": even the original attribution in the comments of the example is intact.
What's the appropriate response here? Should I recommend that the original question is closed? Should I delete the answer and flag the question?