Talk:One of n lines in a file: Difference between revisions

→‎Simulation: Renamed header
(→‎Simulation: Renamed header)
Line 45:
 
::::: Behold [[Knuth's algorithm S]]! --[[User:Paddy3118|Paddy3118]] 19:21, 21 October 2011 (UTC)
== Algorithm to pick Random line ==
== Simulation ==
I just posted a solution for PureBasic. As I compared the sample output for other solutions, all current solutions (except PureBasic's) appear to be using an algorithm for randomly choosing a line from a file that is different than the one specified in the task description.
 
Anonymous user