Pythagorean triples: Difference between revisions

Content added Content deleted
(Added 11l)
m (Added a comment about compilation option and recursion depth limit.)
Line 3,086: Line 3,086:


=={{header|Nim}}==
=={{header|Nim}}==
Compile with option <code>-d:release</code>. Without release option (i.e. in debug mode), the programs ends prematurely by reaching the recursion depth limit.
{{trans|C}}
{{trans|C}}
<lang nim>const u = [[ 1, -2, 2, 2, -1, 2, 2, -2, 3],
<lang nim>const u = [[ 1, -2, 2, 2, -1, 2, 2, -2, 3],