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

id = 147
group = 'license_plates'
number = 54
visible = True
facts = None

solution = '''\
firstMinus(L, L).
firstMinus([X|T], [Y|T]) :-
  Y is -X.
'''