User talk:Kazinator

From Rosetta Code
Revision as of 18:42, 21 March 2014 by Kazinator (talk | contribs) (→‎Erroneous correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)