diff options
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_momson_2')
-rw-r--r-- | prolog/problems/clp_fd/puzzle_momson_2/common.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/prolog/problems/clp_fd/puzzle_momson_2/common.py b/prolog/problems/clp_fd/puzzle_momson_2/common.py index 978de1f..c5fbbe5 100644 --- a/prolog/problems/clp_fd/puzzle_momson_2/common.py +++ b/prolog/problems/clp_fd/puzzle_momson_2/common.py @@ -3,8 +3,8 @@ import prolog.engine import server.problems id = 152 -number = 58 -visible = False +number = 30 +visible = True facts = None solution = '''\ @@ -18,9 +18,7 @@ puzzle_momson(M, S) :- test_cases = [ ('puzzle_momson(M, S)', - [{'M': '42', 'S': '24'}]), - ('puzzle_momson(M, S)', - [{'M': '51', 'S': '15'}]), + [{'M': '42', 'S': '24'}, {'M': '51', 'S': '15'}]), ('setof(M/S, puzzle_momson(M, S), X)', [{'X': '[42/24, 51/15]'}]), ] |