From 8c04e6a402aba2270aadc78fb44cfa8b3762d42c Mon Sep 17 00:00:00 2001 From: Aleksander Sadikov Date: Sun, 24 Apr 2016 21:34:35 +0200 Subject: CLP(R) exercises: Slovenian descriptions added. --- prolog/problems/clp_r/center_3/sl.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 prolog/problems/clp_r/center_3/sl.py (limited to 'prolog/problems/clp_r/center_3') 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 = '''\ +

center(Points, R, X/Y): X/Y je točka v seznamu točk Points, ki je za največ R oddaljena od vseh ostalih točk v seznamu.

+
+?- 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.
+
''' + +hint = {} -- cgit v1.2.1