Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I was failing a reviewreview and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first time answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote per the answer and comments here. I think the comment said that this is not an answer or something similar, (hence this question), but I can't see it because of my low rep.

Also, for the third time, my question isn't about my failing the audit per se. It has been about the specific deleted question from the very beginning: How is this not an answer?

And I don't think all the cited dupes apply to this specific first-time answer.

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first time answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote per the answer and comments here. I think the comment said that this is not an answer or something similar, (hence this question), but I can't see it because of my low rep.

Also, for the third time, my question isn't about my failing the audit per se. It has been about the specific deleted question from the very beginning: How is this not an answer?

And I don't think all the cited dupes apply to this specific first-time answer.

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first time answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote per the answer and comments here. I think the comment said that this is not an answer or something similar, (hence this question), but I can't see it because of my low rep.

Also, for the third time, my question isn't about my failing the audit per se. It has been about the specific deleted question from the very beginning: How is this not an answer?

And I don't think all the cited dupes apply to this specific first-time answer.

Post Reopened by Luke, HaveNoDisplayName, user683218, Bob, Deduplicator
deleted 110 characters in body
Source Link
thor
  • 22.4k
  • 19
  • 25

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first time answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote per the answer and comments here. I think the comment said that this is not an answer or something similar, (hence this question), but I can't see it because of my low rep.

Also, for the third time, my question isn't about my failing the audit per se. It has been about the specific deleted question from the very beginning: How is this not an answer?

And I don't think all the cited dupes apply to this specific first-time answer.

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote.

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first time answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote per the answer and comments here. I think the comment said that this is not an answer or something similar, (hence this question), but I can't see it because of my low rep.

Also, for the third time, my question isn't about my failing the audit per se. It has been about the specific deleted question from the very beginning: How is this not an answer?

And I don't think all the cited dupes apply to this specific first-time answer.

deleted 110 characters in body
Source Link
thor
  • 22.4k
  • 19
  • 25

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote.

Also, is the repeated closing of this post, despite my repeated clarification, some kind of mob violence??

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote.

Also, is the repeated closing of this post, despite my repeated clarification, some kind of mob violence??

I was failing a review and I am just wondering why.

I had doubts that this might be on the short side for an answer, but on the other hand, it gives the complete steps in words. The OP is about the same length, asks how to get a map on the value instead of the key field. The answer says: create another map by inserting the value field first, i.e., as the key. Right or wrong, I don't see how that the answer itself is trivial or otherwise not an answer.

Am I missing something here?

Edit

I don't think this will be a duplicate of any other question unless it's dealing with the same OP. I've added a "specific-answer" tag to be clear. Also, I am not complaining about the audit system. I'm just interested in this specific first-answer.

Edit 2

Again, this is not a duplicate for either cited question, clearly for the reasons I stated. It's about this specific first answer, not any others.

It's one thing whether I did the right thing to think it's an OK answer. It's another whether this is a duplicate meta question. Please consider reopen it.

Edit 3

Just to put everything in context:

The Question was:

I'm looking for a function in C++ that for swap the contents of a map ... that is: those that were the keys now become the items and those that the items were now the keys. Can you tell me if there is something about this?

The deleted first answer that was supposed to be bad and failed the audit was:

Insert the items in the map into a multimap - value first, key second, with appropriate comparison function that compares two values of the original map. Once all value-key items are inserted, the multimap will be sorted as intended. Job done!

I may be mistaken, but my reading was that the answer provided what exactly the question asked for, i.e.

swap the contents of a map

The answer even takes care of the issue that the swapped map needs to be a multimap because the values in the original map may not be all unique values. I am kind of sympathetic with the comment left by the answer maker:

I suggest you read the original question one more time - this time at a slower pace. – Faramarz Dec 8 '15 at 23:20

There was a comment that the above comment is responding to (now deleted) which I was suppose to upvote.

added 1366 characters in body
Source Link
thor
  • 22.4k
  • 19
  • 25
Loading
beautified given link, fixed spacing and punctuation, improved markup
Source Link
honk
  • 9.7k
  • 4
  • 38
  • 48
Loading
edited tags; edited tags
Link
Deduplicator
  • 45.6k
  • 5
  • 135
  • 173
Loading
added 222 characters in body
Source Link
thor
  • 22.4k
  • 19
  • 25
Loading
added 160 characters in body; edited tags
Source Link
thor
  • 22.4k
  • 19
  • 25
Loading
Source Link
thor
  • 22.4k
  • 19
  • 25
Loading