From a165d1bb321cc91ebb3476ba510eb3c0e531baed Mon Sep 17 00:00:00 2001 From: iridiumR Date: Sun, 3 Oct 2021 10:38:04 +0800 Subject: [PATCH] =?UTF-8?q?2:=20=E4=BC=BC=E4=B9=8E=E6=8A=8A=E6=89=A9?= =?UTF-8?q?=E5=AE=B9=E7=BC=A9=E5=AE=B9=E8=AE=BE=E4=B8=BA=E7=A7=81=E6=9C=89?= =?UTF-8?q?=E6=88=90=E5=91=98=E5=87=BD=E6=95=B0=E6=9B=B4=E5=90=88=E7=90=86?= =?UTF-8?q?=E4=BA=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ex2.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ex2.cpp b/ex2.cpp index 9cc8068..df805af 100644 --- a/ex2.cpp +++ b/ex2.cpp @@ -12,6 +12,9 @@ class Vec int LEN; int USED; + void expand(); + + void shrink(); public: @@ -34,10 +37,6 @@ class Vec void swap(int a, int b); - void expand(); - - void shrink(); - int insert(int locate,int value); int del(int locate,int value);