yohei #3185(2007/09/27 11:38 GMT) [ Prolog ] Rating0/0=0.00
1 2 3 4 5
only_uniq([],[]). only_uniq([X|Xs], [X|Ys]) :- delete(Xs, X, Xs), !, only_uniq(Xs, Ys). only_uniq([X|Xs], Ys) :- delete(Xs, X, Zs), only_uniq(Zs, Ys). :- only_uniq([3, 1, 4, 1, 5, 9, 2, 6, 5], U), writeln(U).
Rating0/0=0.00-0+
[ reply ]
yohei
#3185()
[
Prolog
]
Rating0/0=0.00
Rating0/0=0.00-0+
[ reply ]