Home > Software engineering >  Have a great god can do!!!!!! emergency
Have a great god can do!!!!!! emergency

Time:11-17

Emergency!!!!! This should be a VB foundation class, a great god save me!!!!!!!

CodePudding user response:

Recursive quick sort,

CodePudding user response:

The rest of his, part-time writing code, extracurricular tutor what all is not free, parents have to you pay the school tuition

CodePudding user response:

The
reference 1/f, crispy big ice cream reply:
recursive quick sort,

What do you think of the original poster can understand what is "recursive"...


And he that as long as find maximum and minimum values, it is not necessary to sort,
You give he said "sort" he must be more don't understand,

CodePudding user response:

VBS code:
 
Dim a (99)
Randomize
For I=0 To 99
A (I)=int (RND * 900 + 100)
Next

Max=a (0)
Min=a (0)
For I=1 To 99
If Max & lt; A (I) Then
Max=a (I)
End the If
If min & gt; A (I) Then
Min=a (I)
End the If
Next

Msgbox "maximum:" & amp; Max & amp; "The minimum:" & amp; Min

CodePudding user response:

reference 3/f a toast to invite the bright moon response:
Quote: reference 1/f, crispy big ice cream reply:

Recursive quick sort,

What do you think of the original poster can understand what is "recursive"...


And he that as long as find maximum and minimum values, it is not necessary to sort,
You give he said "sort" he must be more don't understand,


Is oh, say does not allow multiple cycle, don't say don't allow circulation,

CodePudding user response:

reference 3/f a toast to invite the bright moon response:
Quote: reference 1/f, crispy big ice cream reply:

Recursive quick sort,

What do you think of the original poster can understand what is "recursive"...


And he that as long as find maximum and minimum values, it is not necessary to sort,
You give he said "sort" he must be more don't understand,

After sorting, take the first and the last value is not to go
  • Related