Taxicab numbers: Difference between revisions

Content added Content deleted
m (Added Sidef)
m (→‎{{header|Sidef}}: fix logic error)
Line 1,857: Line 1,857:


Inf.times { |c1|
Inf.times { |c1|
if (terminate>0 && terminate>c1) {
if (terminate>0 || terminate>c1) {
display(taxi, start, end)
display(taxi, start, end)
break
break