summaryrefslogtreecommitdiff
path: root/prolog/problems/trees/memberbt_2/common.py
blob: 6df89e30fabcfd7b9f704f983fde5ccdcb4bcda8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# coding=utf-8

id = 135
number = 42
visible = False
facts = None

solution = '''\
memberBT(X, b(_, X, _)).
memberBT(X, b(L, _, _)) :-
  memberBT(X, L).
memberBT(X, b(_, _, R)) :-
  memberBT(X, R).
'''