This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Let's say you have 15 cards, numbered 1 to 15. You have to sort these cards in an order, such that you'll get the highest score possible.
The score is calculated by going through the cards. It starts as the value of the first card. For each following card:
If the value of the card is higher than the one before, the score is multiplied by the difference of the two.
If the value is lower than the card before, the score is divided by value of the current card.
What is the card order that will yield the highest result? Does the answer change if each time the score is calculated, the result is rounded to the nearest integer? What about if it is truncated to the lower integer?
———
Hi folks, I wanted to post this problem to see if anyone could solve it. Thank you for your interest!
———
Example with 3 cards to make sure I explained the rules properly:
Cards: [6,2,9]
Score =(6/2)*7 = 21
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/CasualMath/...