Talk:Largest five adjacent number: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Maybe crap but the criticism is misplaced.)
Line 1: Line 1:
You say its 99638, but 9*9*9*9=6,561. So either the task description is crap or your ring implementation is.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 15:08, 27 September 2021 (UTC)
You say its 99638, but 9*9*9*9=6,561. So either the task description is crap or your ring implementation is.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 15:08, 27 September 2021 (UTC)

: Withholding judgement on whether (or what) is crap. It's random; if it didn't generate five 9s in a row then you won't get 99999. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 16:20, 27 September 2021 (UTC)

Revision as of 16:21, 27 September 2021

You say its 99638, but 9*9*9*9=6,561. So either the task description is crap or your ring implementation is.--Nigel Galloway (talk) 15:08, 27 September 2021 (UTC)

Withholding judgement on whether (or what) is crap. It's random; if it didn't generate five 9s in a row then you won't get 99999. --Thundergnat (talk) 16:20, 27 September 2021 (UTC)