Skip to content

Commit 03eaf70

Browse files
authored
Update main.cc
1 parent e5ef971 commit 03eaf70

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using std::cout;
66

77
vector<int> inputvect;
8-
int sz = 50; // input size
8+
int sz; // input size
99

1010
typedef struct Data
1111
{
@@ -46,7 +46,8 @@ void *merge_thread(void *arg)
4646
int main()
4747
{
4848
clock_t t1, t2; // clock variable to compute time
49-
49+
cout<<"Enter Array Size \n";
50+
cin>>sz;
5051
// creating random vector
5152
for (int i = 0; i < sz; i++)
5253
{

0 commit comments

Comments
 (0)