Factorization corrected by zetamatta

while""do\x0d
a,b=io.read("*n","*n")x=0\x0d
while b~=x*(a-x)do\x0d
x=x+1\x0d
end\x0d
print(x.." "..a-x)end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page