summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_abc_3
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_abc_3')
-rw-r--r--prolog/problems/clp_fd/puzzle_abc_3/sl.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/prolog/problems/clp_fd/puzzle_abc_3/sl.py b/prolog/problems/clp_fd/puzzle_abc_3/sl.py
new file mode 100644
index 0000000..118481a
--- /dev/null
+++ b/prolog/problems/clp_fd/puzzle_abc_3/sl.py
@@ -0,0 +1,10 @@
+# coding=utf-8
+
+name = 'puzzle_abc/3'
+slug = 'Uganka z leti: ABC'
+
+description = '''\
+<p>Oseba <code>A</code> je dve leti starejša od osebe <code>B</code>, ki je dvakrat starejša od osebe <code>C</code>. Skupaj so osebe A, B in C stare 27 let.</p>
+<p>Napiši predikat <code>puzzle_abc(A, B, C)</code>, ki izračuna koliko so stare osebe A, B in C.</p>'''
+
+hint = {}