From b39fb0344367e486457cd6e2e67255ff6b97c332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nut=CC=A6iu?= Date: Mon, 9 May 2016 16:42:02 +0300 Subject: [PATCH] Adding symmetry --- lab10/3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab10/3.c b/lab10/3.c index 400f5aa..9f27456 100644 --- a/lab10/3.c +++ b/lab10/3.c @@ -103,8 +103,8 @@ void find_peak(list * lst, size_t size) { } int main(void) { - list list1 = insert(insert(insert(insert(NULL, 11), 7), 5), 3); - list list2 = insert(insert(insert(insert(NULL, 17), -3), 2), -8); + list list1 = insert(insert(insert(insert(NULL, 11), -7), 05), 03); + list list2 = insert(insert(insert(insert(NULL, 17), -3), 02), -8); list list3 = insert(insert(insert(insert(NULL, 14), 21), 10), 32); list lists[] = { list1, list2, list3 }; find_peak(lists, 3);