summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_ratio_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_ratio_2')
-rw-r--r--prolog/problems/clp_fd/puzzle_ratio_2/sl.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/prolog/problems/clp_fd/puzzle_ratio_2/sl.py b/prolog/problems/clp_fd/puzzle_ratio_2/sl.py
new file mode 100644
index 0000000..826e66f
--- /dev/null
+++ b/prolog/problems/clp_fd/puzzle_ratio_2/sl.py
@@ -0,0 +1,10 @@
+# coding=utf-8
+
+name = 'puzzle_ratio/2'
+slug = 'Uganka z leti: razmerje'
+
+description = '''\
+<p>Trenutni starosti osebe <code>A</code> in osebe <code>B</code> sta v razmerju 5:4. Čez tri leta bo razmerje njunih let postalo 11:9.</p>
+<p>Napiši predikat <code>puzzle_ratio(A, B)</code>, ki izračuna starost osebe <code>A</code> in osebe <code>B</code>.</p>'''
+
+hint = {}