Best shuffle: Difference between revisions
Content added Content deleted
(added Ursala) |
(C: incorrect) |
||
Line 6: | Line 6: | ||
=={{header|C}}== |
=={{header|C}}== |
||
{{incorrect|C|it does not work in in the general case}} |
|||
This approach is totally deterministic. Thus, the true "shuffle" is not done in a sense since it would invariably involve random numbers. Also, every character is considered unique in a word and that's why grrrrr also has a score of 0. |
This approach is totally deterministic. Thus, the true "shuffle" is not done in a sense since it would invariably involve random numbers. Also, every character is considered unique in a word and that's why grrrrr also has a score of 0. |
||
Line 95: | Line 97: | ||
Continue (y/n) :n |
Continue (y/n) :n |
||
</lang> |
</lang> |
||
=={{header|D}}== |
=={{header|D}}== |
||
{{works with|D|2}} |
{{works with|D|2}} |