3 ms·
the website doesn't verify the accuracy of sort output. it just gives you the first SO answer that a) has a code snippet b) which is error-free c) and has a f
by keerthiko 8y ago
the website doesn't verify the accuracy of sort output. it just gives you the first SO answer that
a) has a code snippet
b) which is error-free
c) and has a function that can be extracted and run
...for your input format, and returns the output of passing your input code into it.
It's true to the xkcd mission, which is just to find SO answers until it returns something, not to actually confirm it was sorted correctly.
- delinka 8y agoThe alt-text on the linked comic says "...until the list is sorted." Ergo, one must verify that it is sorted before knowing whether to execute the next code snippet.