summaryrefslogtreecommitdiff
path: root/prolog/problems/lists
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-09 11:19:53 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-09 11:19:53 +0200
commitfd31d7d74e58796f3a5a7c84b4b19cb4af59ef4c (patch)
treea1bbe33960a7cb59d9f370c9127e02a96f3d2005 /prolog/problems/lists
parent84f3426c937d1bb9d44ba25a71706416fbb8b85d (diff)
parent7e918d834296e206aef922ee02d6991722c4653e (diff)
Merge branch 'master' of 192.168.15.97:codeq-problems
Conflicts: python/problems/while_and_if/checking_account/en.py python/problems/while_and_if/consumers_anonymous/en.py
Diffstat (limited to 'prolog/problems/lists')
-rw-r--r--prolog/problems/lists/common.py2
-rw-r--r--prolog/problems/lists/conc_3/en.py1
-rw-r--r--prolog/problems/lists/count_3/en.py1
-rw-r--r--prolog/problems/lists/del_3/en.py1
-rw-r--r--prolog/problems/lists/divide_3/en.py1
-rw-r--r--prolog/problems/lists/dup_2/en.py1
-rw-r--r--prolog/problems/lists/evenlen_1_+_oddlen_1/en.py1
-rw-r--r--prolog/problems/lists/insert_3/en.py1
-rw-r--r--prolog/problems/lists/len_2/en.py1
-rw-r--r--prolog/problems/lists/max_2/en.py1
-rw-r--r--prolog/problems/lists/memb_2/en.py1
-rw-r--r--prolog/problems/lists/min_2/en.py1
-rw-r--r--prolog/problems/lists/palindrome_1/en.py1
-rw-r--r--prolog/problems/lists/permute_2/en.py1
-rw-r--r--prolog/problems/lists/rev_2/en.py1
-rw-r--r--prolog/problems/lists/shiftleft_2/en.py1
-rw-r--r--prolog/problems/lists/shiftright_2/en.py1
-rw-r--r--prolog/problems/lists/sublist_2/en.py1
-rw-r--r--prolog/problems/lists/sum_2/en.py1
19 files changed, 2 insertions, 18 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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'