Cancel fractions by ksk

open Num#load"nums.cma";;while()=print_endline(string_of_num(Scanf.scanf"%d/%d "(fun x y->Int x//Int y)))do()done

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

download

return to the top page