Factorization corrected by pi8027

f(x:y:_)=head[putStrLn$unwords$map show[a,x-a]|a<-[0..],a*(x-a)==y];m@main=getLine>>=f.map read.words>>m

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

download

return to the top page