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/max_sum_2/sl.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 prolog/problems/clp_r/max_sum_2/sl.py (limited to 'prolog/problems/clp_r/max_sum_2') diff --git a/prolog/problems/clp_r/max_sum_2/sl.py b/prolog/problems/clp_r/max_sum_2/sl.py new file mode 100644 index 0000000..b73459e --- /dev/null +++ b/prolog/problems/clp_r/max_sum_2/sl.py @@ -0,0 +1,15 @@ +# coding=utf-8 + +name = 'max_sum/2' +slug = 'najdi največja sosedna elementa seznama' + +description = '''\ +

max_sum(List, Max): Max je največja možna vsota dveh sosednih elementov v seznamu List.

+
+?- max_sum([4.5, 3.6, 1.2, 6.7], Max).
+  Max = 8.1.
+?- max_sum([1.1, 1.2, -12.3, 8.8], Max).
+  Max = 2.3.
+
''' + +hint = {} -- cgit v1.2.1