User talk:Kazinator: Difference between revisions

From Rosetta Code
Content added Content deleted
(erroneous correction)
 
 
Line 5: Line 5:


[[User:CRGreathouse|CRGreathouse]] ([[User talk:CRGreathouse|talk]]) 16:39, 21 March 2014 (UTC)
[[User:CRGreathouse|CRGreathouse]] ([[User talk:CRGreathouse|talk]]) 16:39, 21 March 2014 (UTC)
:: The solutions are supposed to calculate the space needed for the largest item in each column, not the largest item in the triangle. [[User:Kazinator|Kazinator]] ([[User talk:Kazinator|talk]]) 18:42, 21 March 2014 (UTC)

Latest revision as of 18:42, 21 March 2014

Erroneous correction

You wrote [1]:

It does not ensure that there is exactly one space between the columns in the last row.

But the code clearly does -- it measures the space needed for the largest item and adds one, as is clear from the code. (Of course, the examples show that it works in the particular test cases.)

CRGreathouse (talk) 16:39, 21 March 2014 (UTC)

The solutions are supposed to calculate the space needed for the largest item in each column, not the largest item in the triangle. Kazinator (talk) 18:42, 21 March 2014 (UTC)