From 5b988e7ee8652d4b472428569673ed58ecda4f87 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:17:20 +0400 Subject: [PATCH] 2 commit --- Source.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Source.cpp b/Source.cpp index 3352724..83d0f3c 100644 --- a/Source.cpp +++ b/Source.cpp @@ -300,18 +300,3 @@ void insertElement(int insIndex, int value) { arr[insIndex] = value; } -int findLastEven4() { - for (int i = n - 1; i >= 0; i--) { - if (arr[i] % 4 == 0) { - return i; - } - } - return -1; -} -void insertElement4(int insIndex, int value) { - for (int i = n; i > insIndex; i--) { - arr[i] = arr[i-1]; - } - n++; - arr[insIndex+1] = value; -} \ No newline at end of file