summaryrefslogtreecommitdiff
path: root/prolog/problems/lists
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/lists')
-rw-r--r--prolog/problems/lists/common.py2
-rw-r--r--prolog/problems/lists/conc_3/common.py1
-rw-r--r--prolog/problems/lists/conc_3/en.py1
-rw-r--r--prolog/problems/lists/count_3/common.py1
-rw-r--r--prolog/problems/lists/count_3/en.py1
-rw-r--r--prolog/problems/lists/del_3/common.py1
-rw-r--r--prolog/problems/lists/del_3/en.py1
-rw-r--r--prolog/problems/lists/divide_3/common.py1
-rw-r--r--prolog/problems/lists/divide_3/en.py1
-rw-r--r--prolog/problems/lists/dup_2/common.py1
-rw-r--r--prolog/problems/lists/dup_2/en.py1
-rw-r--r--prolog/problems/lists/evenlen_1_+_oddlen_1/common.py1
-rw-r--r--prolog/problems/lists/evenlen_1_+_oddlen_1/en.py1
-rw-r--r--prolog/problems/lists/insert_3/common.py1
-rw-r--r--prolog/problems/lists/insert_3/en.py1
-rw-r--r--prolog/problems/lists/len_2/common.py1
-rw-r--r--prolog/problems/lists/len_2/en.py1
-rw-r--r--prolog/problems/lists/max_2/common.py1
-rw-r--r--prolog/problems/lists/max_2/en.py1
-rw-r--r--prolog/problems/lists/memb_2/common.py1
-rw-r--r--prolog/problems/lists/memb_2/en.py1
-rw-r--r--prolog/problems/lists/min_2/common.py1
-rw-r--r--prolog/problems/lists/min_2/en.py1
-rw-r--r--prolog/problems/lists/palindrome_1/common.py1
-rw-r--r--prolog/problems/lists/palindrome_1/en.py1
-rw-r--r--prolog/problems/lists/permute_2/common.py1
-rw-r--r--prolog/problems/lists/permute_2/en.py1
-rw-r--r--prolog/problems/lists/rev_2/common.py1
-rw-r--r--prolog/problems/lists/rev_2/en.py1
-rw-r--r--prolog/problems/lists/shiftleft_2/common.py1
-rw-r--r--prolog/problems/lists/shiftleft_2/en.py1
-rw-r--r--prolog/problems/lists/shiftright_2/common.py1
-rw-r--r--prolog/problems/lists/shiftright_2/en.py1
-rw-r--r--prolog/problems/lists/sublist_2/common.py1
-rw-r--r--prolog/problems/lists/sublist_2/en.py1
-rw-r--r--prolog/problems/lists/sum_2/common.py1
-rw-r--r--prolog/problems/lists/sum_2/en.py1
37 files changed, 2 insertions, 36 deletions
diff --git a/prolog/problems/lists/common.py b/prolog/problems/lists/common.py
new file mode 100644
index 0000000..4788fc4
--- /dev/null
+++ b/prolog/problems/lists/common.py
@@ -0,0 +1,2 @@
+id = 2
+number = 2
diff --git a/prolog/problems/lists/conc_3/common.py b/prolog/problems/lists/conc_3/common.py
index ef23d67..e83c454 100644
--- a/prolog/problems/lists/conc_3/common.py
+++ b/prolog/problems/lists/conc_3/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 104
-group = 'lists'
number = 12
visible = True
facts = None
diff --git a/prolog/problems/lists/conc_3/en.py b/prolog/problems/lists/conc_3/en.py
index 184ca44..7399f7e 100644
--- a/prolog/problems/lists/conc_3/en.py
+++ b/prolog/problems/lists/conc_3/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 104
name = 'conc/3'
slug = 'concatenate two lists'
diff --git a/prolog/problems/lists/count_3/common.py b/prolog/problems/lists/count_3/common.py
index bf6f688..8a85079 100644
--- a/prolog/problems/lists/count_3/common.py
+++ b/prolog/problems/lists/count_3/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 120
-group = 'lists'
number = 27
visible = True
facts = None
diff --git a/prolog/problems/lists/count_3/en.py b/prolog/problems/lists/count_3/en.py
index 9115940..c676dea 100644
--- a/prolog/problems/lists/count_3/en.py
+++ b/prolog/problems/lists/count_3/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 120
name = 'count/3'
slug = 'find the number of occurrences of an element in list'
diff --git a/prolog/problems/lists/del_3/common.py b/prolog/problems/lists/del_3/common.py
index 81bbb75..755193c 100644
--- a/prolog/problems/lists/del_3/common.py
+++ b/prolog/problems/lists/del_3/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 105
-group = 'lists'
number = 11
visible = True
facts = None
diff --git a/prolog/problems/lists/del_3/en.py b/prolog/problems/lists/del_3/en.py
index 1e58ae5..d7e38e8 100644
--- a/prolog/problems/lists/del_3/en.py
+++ b/prolog/problems/lists/del_3/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 105
name = 'del/3'
slug = 'delete an element from list'
diff --git a/prolog/problems/lists/divide_3/common.py b/prolog/problems/lists/divide_3/common.py
index 337f702..c5744cc 100644
--- a/prolog/problems/lists/divide_3/common.py
+++ b/prolog/problems/lists/divide_3/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 115
-group = 'lists'
number = 22
visible = True
facts = None
diff --git a/prolog/problems/lists/divide_3/en.py b/prolog/problems/lists/divide_3/en.py
index 657b013..fded262 100644
--- a/prolog/problems/lists/divide_3/en.py
+++ b/prolog/problems/lists/divide_3/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 115
name = 'divide/3'
slug = 'split a list into parts of roughly equal length'
diff --git a/prolog/problems/lists/dup_2/common.py b/prolog/problems/lists/dup_2/common.py
index 7417006..e0a1001 100644
--- a/prolog/problems/lists/dup_2/common.py
+++ b/prolog/problems/lists/dup_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 110
-group = 'lists'
number = 17
visible = True
facts = None
diff --git a/prolog/problems/lists/dup_2/en.py b/prolog/problems/lists/dup_2/en.py
index f6354b3..c1d0c1a 100644
--- a/prolog/problems/lists/dup_2/en.py
+++ b/prolog/problems/lists/dup_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 110
name = 'dup/2'
slug = 'duplicate the elements of a list'
diff --git a/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py b/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py
index aaca8ec..601cd33 100644
--- a/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py
+++ b/prolog/problems/lists/evenlen_1_+_oddlen_1/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 116
-group = 'lists'
number = 23
visible = True
facts = None
diff --git a/prolog/problems/lists/evenlen_1_+_oddlen_1/en.py b/prolog/problems/lists/evenlen_1_+_oddlen_1/en.py
index 741c36a..1ac7990 100644
--- a/prolog/problems/lists/evenlen_1_+_oddlen_1/en.py
+++ b/prolog/problems/lists/evenlen_1_+_oddlen_1/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 116
name = 'evenlen/1 + oddlen/1'
slug = 'check if the length of a list is even or odd'
diff --git a/prolog/problems/lists/insert_3/common.py b/prolog/problems/lists/insert_3/common.py
index df4e16e..4892f4d 100644
--- a/prolog/problems/lists/insert_3/common.py
+++ b/prolog/problems/lists/insert_3/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 106
-group = 'lists'
number = 13
visible = True
facts = None
diff --git a/prolog/problems/lists/insert_3/en.py b/prolog/problems/lists/insert_3/en.py
index 01a7d0a..6a3da54 100644
--- a/prolog/problems/lists/insert_3/en.py
+++ b/prolog/problems/lists/insert_3/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 106
name = 'insert/3'
slug = 'insert an element into list'
diff --git a/prolog/problems/lists/len_2/common.py b/prolog/problems/lists/len_2/common.py
index 33fc223..7dbdc62 100644
--- a/prolog/problems/lists/len_2/common.py
+++ b/prolog/problems/lists/len_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 119
-group = 'lists'
number = 26
visible = True
facts = None
diff --git a/prolog/problems/lists/len_2/en.py b/prolog/problems/lists/len_2/en.py
index 325e28f..9de0060 100644
--- a/prolog/problems/lists/len_2/en.py
+++ b/prolog/problems/lists/len_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 119
name = 'len/2'
slug = 'find the length of a list'
diff --git a/prolog/problems/lists/max_2/common.py b/prolog/problems/lists/max_2/common.py
index 73c39a2..0e8f031 100644
--- a/prolog/problems/lists/max_2/common.py
+++ b/prolog/problems/lists/max_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 109
-group = 'lists'
number = 16
visible = True
facts = None
diff --git a/prolog/problems/lists/max_2/en.py b/prolog/problems/lists/max_2/en.py
index 1f6aba7..f851cd9 100644
--- a/prolog/problems/lists/max_2/en.py
+++ b/prolog/problems/lists/max_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 109
name = 'max/2'
slug = 'find the largest element in list'
diff --git a/prolog/problems/lists/memb_2/common.py b/prolog/problems/lists/memb_2/common.py
index 9e8b58e..3acbc15 100644
--- a/prolog/problems/lists/memb_2/common.py
+++ b/prolog/problems/lists/memb_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 103
-group = 'lists'
number = 10
visible = True
facts = None
diff --git a/prolog/problems/lists/memb_2/en.py b/prolog/problems/lists/memb_2/en.py
index 9b3c4d9..3fb20d3 100644
--- a/prolog/problems/lists/memb_2/en.py
+++ b/prolog/problems/lists/memb_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 103
name = 'memb/2'
slug = 'find elements in list'
diff --git a/prolog/problems/lists/min_2/common.py b/prolog/problems/lists/min_2/common.py
index a5421d1..cc6ad9e 100644
--- a/prolog/problems/lists/min_2/common.py
+++ b/prolog/problems/lists/min_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 108
-group = 'lists'
number = 15
visible = True
facts = None
diff --git a/prolog/problems/lists/min_2/en.py b/prolog/problems/lists/min_2/en.py
index 0e5a907..2432be2 100644
--- a/prolog/problems/lists/min_2/en.py
+++ b/prolog/problems/lists/min_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 108
name = 'min/2'
slug = 'find the smallest element'
diff --git a/prolog/problems/lists/palindrome_1/common.py b/prolog/problems/lists/palindrome_1/common.py
index 31998e2..5df4b87 100644
--- a/prolog/problems/lists/palindrome_1/common.py
+++ b/prolog/problems/lists/palindrome_1/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 112
-group = 'lists'
number = 19
visible = True
facts = None
diff --git a/prolog/problems/lists/palindrome_1/en.py b/prolog/problems/lists/palindrome_1/en.py
index 3e5f561..7f30f8e 100644
--- a/prolog/problems/lists/palindrome_1/en.py
+++ b/prolog/problems/lists/palindrome_1/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 112
name = 'palindrome/1'
slug = 'check if list is a palindrome'
diff --git a/prolog/problems/lists/permute_2/common.py b/prolog/problems/lists/permute_2/common.py
index a1c66ff..2f37a3b 100644
--- a/prolog/problems/lists/permute_2/common.py
+++ b/prolog/problems/lists/permute_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 107
-group = 'lists'
number = 14
visible = True
facts = None
diff --git a/prolog/problems/lists/permute_2/en.py b/prolog/problems/lists/permute_2/en.py
index 048713e..29d287f 100644
--- a/prolog/problems/lists/permute_2/en.py
+++ b/prolog/problems/lists/permute_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 107
name = 'permute/2'
slug = 'generate permutations of a list'
diff --git a/prolog/problems/lists/rev_2/common.py b/prolog/problems/lists/rev_2/common.py
index c31e25b..ba72492 100644
--- a/prolog/problems/lists/rev_2/common.py
+++ b/prolog/problems/lists/rev_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 111
-group = 'lists'
number = 18
visible = True
facts = None
diff --git a/prolog/problems/lists/rev_2/en.py b/prolog/problems/lists/rev_2/en.py
index c4800b6..fe36ec5 100644
--- a/prolog/problems/lists/rev_2/en.py
+++ b/prolog/problems/lists/rev_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 111
name = 'rev/2'
slug = 'reverse a list'
diff --git a/prolog/problems/lists/shiftleft_2/common.py b/prolog/problems/lists/shiftleft_2/common.py
index f8e09f2..9a2fe0e 100644
--- a/prolog/problems/lists/shiftleft_2/common.py
+++ b/prolog/problems/lists/shiftleft_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 113
-group = 'lists'
number = 20
visible = True
facts = None
diff --git a/prolog/problems/lists/shiftleft_2/en.py b/prolog/problems/lists/shiftleft_2/en.py
index 72d55e5..a99b4a7 100644
--- a/prolog/problems/lists/shiftleft_2/en.py
+++ b/prolog/problems/lists/shiftleft_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 113
name = 'shiftleft/2'
slug = 'shift a list left'
diff --git a/prolog/problems/lists/shiftright_2/common.py b/prolog/problems/lists/shiftright_2/common.py
index e443332..5358935 100644
--- a/prolog/problems/lists/shiftright_2/common.py
+++ b/prolog/problems/lists/shiftright_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 114
-group = 'lists'
number = 21
visible = True
facts = None
diff --git a/prolog/problems/lists/shiftright_2/en.py b/prolog/problems/lists/shiftright_2/en.py
index 3f20565..13384b0 100644
--- a/prolog/problems/lists/shiftright_2/en.py
+++ b/prolog/problems/lists/shiftright_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 114
name = 'shiftright/2'
slug = 'shift a list right'
diff --git a/prolog/problems/lists/sublist_2/common.py b/prolog/problems/lists/sublist_2/common.py
index f9cef37..694bfcf 100644
--- a/prolog/problems/lists/sublist_2/common.py
+++ b/prolog/problems/lists/sublist_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 117
-group = 'lists'
number = 24
visible = True
facts = None
diff --git a/prolog/problems/lists/sublist_2/en.py b/prolog/problems/lists/sublist_2/en.py
index e17270b..e761e19 100644
--- a/prolog/problems/lists/sublist_2/en.py
+++ b/prolog/problems/lists/sublist_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 117
name = 'sublist/2'
slug = 'generate sublists of a list'
diff --git a/prolog/problems/lists/sum_2/common.py b/prolog/problems/lists/sum_2/common.py
index 106f310..9c17e9c 100644
--- a/prolog/problems/lists/sum_2/common.py
+++ b/prolog/problems/lists/sum_2/common.py
@@ -1,7 +1,6 @@
# coding=utf-8
id = 118
-group = 'lists'
number = 25
visible = True
facts = None
diff --git a/prolog/problems/lists/sum_2/en.py b/prolog/problems/lists/sum_2/en.py
index fb47a1f..fc4cea8 100644
--- a/prolog/problems/lists/sum_2/en.py
+++ b/prolog/problems/lists/sum_2/en.py
@@ -1,6 +1,5 @@
# coding=utf-8
-id = 118
name = 'sum/2'
slug = 'find the sum of all elements in list'