Solve a Hopido puzzle: Difference between revisions

m
Line 1,472:
if M[R,C] = 0 then print(" ") else printf("%2d ", M[R,C]) end,
if C = NC then nl end
end. /*
</lang>
24 15 23 26
Output:
<pre> 24 15 23 26
6 9 12 5 8 11 4
14 17 20 25 16 19 22
Line 1,479 ⟶ 1,481:
13 18 21
1
CPU time 0.019 seconds, correct *</pre>
</lang>
 
=={{header|Prolog}}==