diff options
author | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2016-04-24 21:34:35 +0200 |
---|---|---|
committer | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2016-04-24 21:34:35 +0200 |
commit | 8c04e6a402aba2270aadc78fb44cfa8b3762d42c (patch) | |
tree | 566311608edf4a4e292d2eb22192143da44bcf38 /prolog/problems/clp_r/bounding_box_3 | |
parent | 77adbfbf6ff1923e913e4a29a7ec675c64c9a899 (diff) |
CLP(R) exercises: Slovenian descriptions added.
Diffstat (limited to 'prolog/problems/clp_r/bounding_box_3')
-rw-r--r-- | prolog/problems/clp_r/bounding_box_3/sl.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/prolog/problems/clp_r/bounding_box_3/sl.py b/prolog/problems/clp_r/bounding_box_3/sl.py new file mode 100644 index 0000000..81bfdbd --- /dev/null +++ b/prolog/problems/clp_r/bounding_box_3/sl.py @@ -0,0 +1,13 @@ +# coding=utf-8 + +name = 'bounding_box/3' +slug = 'najdi najmanjši pravokotnik okoli podanih točk' + +description = '''\ +<p><code>bounding_box(Points, X1/Y1, X2/Y2)</code>: <code>X1/Y1</code> in <code>X2/Y2</code> sta spodnja-leva in zgornja-desna točka, ki definirata najmanjši pravokotnik, ki vsebuje vse točke v seznamu <code>Points</code>. +<pre> +?- bounding_box([4.5/2.3, 3.6/1.2, 6.7/0.1], X1/Y1, X2/Y2). + X1 = 3.6, Y1 = 0.1, X2 = 6.7, Y2 = 2.3. +</pre>''' + +hint = {} |