Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. c([X|T],X,T).
  2. s(In,Out) :- c(In,am, Out).
  3. s(In,Out) :- c(In,citit,Out).
  4. s(In,Out) :- c(In,o,Out).
  5. s(In,Out) :- c(In,carte,Out).
  6. s(In,Out) :- c(In,mers,Out).
  7. s(In,Out) :- c(In,la,Out).
  8. s(In,Out) :- c(In,facultate,Out).
  9. s(In,Out) :- s(In,In2), s(In2,Out), s(In2, Out), s(In2, Out).
  10. s(In,Out) :- s(In,In2), s(In2,Out), s(In2, Out), s(In2, Out), s(In2, Out), s(In2, Out).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement