GCD Again by I., S.

main=g>>n
n=g>>g>>=print.foldr1 gcd.map read.words>>n
g=getLine

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

download

return to the top page