From 7b86e132f68bab836c2cd115864f0042a85cfb9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D1=80=D0=B2=D0=B0=D1=80=D0=B0=20=D0=9A=D0=B0?= =?UTF-8?q?=D1=80=D0=B0=D1=81=D0=B5=D0=B2=D0=B0?= Date: Wed, 6 Nov 2024 09:18:49 +0400 Subject: [PATCH] 2 commit --- Source.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Source.cpp b/Source.cpp index 83d0f3c..5fad308 100644 --- a/Source.cpp +++ b/Source.cpp @@ -285,18 +285,5 @@ void Menshe4() { } } -void deleteElement(int delIndex) { - for (int i = delIndex; i < n - 1; i++) { - arr[i] = arr[i + 1]; - } - n--; -} -void insertElement(int insIndex, int value) { - for (int i = n; i > insIndex; i--) { - arr[i] = arr[i - 1]; - } - n++; - arr[insIndex] = value; -}