Accumulator factory: Difference between revisions

Content added Content deleted
Line 1,077: Line 1,077:
|^
|^
List solutions = generic[AccumulatorUsingNumber, AccumulatorUsingVar]
List solutions = generic[AccumulatorUsingNumber, AccumulatorUsingVar]
for int i = 0; i < 2; ++i
for int i = 0; i < solutions.length; ++i
generic solution = solutions[i]
generic solution = solutions[i]
writeLine("=== solution " + (i + 1) + " ===")
writeLine("=== solution " + (i + 1) + " ===")