Anonymous user
User talk:CalmoSoft: Difference between revisions
m
→Can I add the next task to Rosetta Code?: added some words.
m (→Can I add the next task to Rosetta Code?: added some "stress tests" and implied task requirements.) |
m (→Can I add the next task to Rosetta Code?: added some words.) |
||
Line 268:
--[[User:CalmoSoft|CalmoSoft]] ([[User talk:CalmoSoft|talk]]) 17:00, 17 July 2021 (UTC)
: I would add another set of elements that had the same (max) difference, and have the program select the first maximum difference that it finds. Also, specify that the two elements (which have the maximum difference) be identified (as you have above, but with more verbiage). And have at least one of the elements have a negative value, and also an element that has a zero value. You didn't mention it, but are you going to restrict the numbers to integers or any real number? An example that would "stress test" these requirements could be an element list
|