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/center_3 | |
parent | 77adbfbf6ff1923e913e4a29a7ec675c64c9a899 (diff) |
CLP(R) exercises: Slovenian descriptions added.
Diffstat (limited to 'prolog/problems/clp_r/center_3')
-rw-r--r-- | prolog/problems/clp_r/center_3/sl.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/prolog/problems/clp_r/center_3/sl.py b/prolog/problems/clp_r/center_3/sl.py new file mode 100644 index 0000000..74f11b5 --- /dev/null +++ b/prolog/problems/clp_r/center_3/sl.py @@ -0,0 +1,14 @@ +# coding=utf-8 + +name = 'center/3' +slug = 'najdi središča' + +description = '''\ +<p><code>center(Points, R, X/Y)</code>: <code>X/Y</code> je točka v seznamu točk <code>Points</code>, ki je za največ <code>R</code> oddaljena od vseh ostalih točk v seznamu.</p> +<pre> +?- center([1.0/1.1, 2.0/2.1, 3.0/3.1, 4.0/4.1], 4.0, X/Y). + X = 2.0, Y = 2.1 ; + X = 3.0, Y = 3.1. +</pre>''' + +hint = {} |