cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community login and other support tools will be unavailable Saturday May 3rd 9:00 am to 3:00 pm (EST) due to planned maintenance. Learn More

Translate the entire conversation x

Solve block not giving answer

SS_9781956
8-Gravel

Solve block not giving answer

Hello,

 

Why solve block is unable to give the maximum value?

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:SS_9781956)

Are you looking for something like this:

Werner_E_1-1668368543974.png

Obviously a,b,c should be as small as possible while d and ss should be as large as possible.

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:SS_9781956)

Are you looking for something like this:

Werner_E_1-1668368543974.png

Obviously a,b,c should be as small as possible while d and ss should be as large as possible.

 

Werner_E
25-Diamond I
(To:Werner_E)

But in case a,b,c,d must be integers and you only want to cycle through the values with the given steps only, you may do it in a small program using nested for-loops:

Werner_E_0-1668372009067.png

 

Announcements

Top Tags