Set symmetric difference by m.ukai

#load"str.cma";;List.fold_left(fun a b->if a=b then""else(a>""&()=print_string(a^" ");b))""(Sort.list(<)("~"::(Str.split(Str.regexp" ")(read_line()^" "^read_line()))))

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

download

return to the top page