Factorization corrected by murky-satyr

System.in.eachLine{(y,b)=it.split()*.toLong()
for(x=-1;++x*y-b;)--y
println"$x $y"}

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

download

return to the top page