Computer Science, asked by justin11110, 5 months ago

A non-empty array A consisting of N numeric values is
given.
The product of quadruplet (P, Q, R, S) equates to A[P]
* A[Q] * A[R] * A[S]
(0 SP<Q<R<S<N).
For example, array A such that:
A[3] = -2
A[4] =
A[0] = -3 A[1] = 1
A[2] = 2
5 A[5] = 6 A[6] = 1
• (0, 1, 2, 3), product is -3 * 1 * 2* -2 = 12
• (1,2,4,5), product is 1 * 2*5*6 = 30
• (2,4,5,6), product is 2*5*6* 1 = 60
60 is the product of quadruplets (2, 4,5, 1), which is
maximal.
Comp in python​

Answers

Answered by jishamanheri08
0

Answer:

Unrelatedly, rank can also be used as an adjective meaning offensively strong, especially in smell or taste, as in There's a rank odor

plsmark as brainliest plsss dear

Attachments:
Similar questions