summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_momson_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_momson_2')
-rw-r--r--prolog/problems/clp_fd/puzzle_momson_2/sl.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/prolog/problems/clp_fd/puzzle_momson_2/sl.py b/prolog/problems/clp_fd/puzzle_momson_2/sl.py
new file mode 100644
index 0000000..593f153
--- /dev/null
+++ b/prolog/problems/clp_fd/puzzle_momson_2/sl.py
@@ -0,0 +1,10 @@
+# coding=utf-8
+
+name = 'puzzle_momson/2'
+slug = 'Uganka z leti: mama in sin'
+
+description = '''\
+<p>Mama in sin sta skupaj stara 66 let. Mamina leta so ravno sinova obrnjena leta (obrnjene so cifre). Koliko sta stara?</p>
+<p>Napiši predikat <code>puzzle_momson(M, S)</code>, ki izračuna starost mame <code>M</code> in sina <code>S</code>.</p>'''
+
+hint = {}