yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Can you solve the magical maze riddle? - Alex Rosenthal


3m read
·Nov 8, 2024

Today is the annual Sly Wizard Tournament featuring competitors from the wizarding world’s three greatest schools, and you’ve been entrusted with an enormous responsibility. You are to administer the tournament. First, you and you alone will determine how many events there will be and their scoring system. Then the three wizards will enter your maze and compete in your chosen events in utmost secrecy; only you and they will see what happens.

The competition begins and... Wow, that was one for the record books. The winner was... wait, you have no idea. The last thing you remember was a dark wizard showing up and casting a forgetting curse. The competitors seem even more confused— each is convinced they won. This is bad. There can be no do-overs, and the last failure to declare a winner set off the first Great Wizarding War. You’ve got to figure this out— and fast. But for the life of you, you can’t remember a thing.

You know you had to follow a few rules: there had to be three or more events, each with a single winner and loser. Every event used the same scoring system, where first place received more points than second, and second more than third. All points were positive integers. Maybe there’s a record somewhere... oh, of course, your scorecard. Well, that leaves something to be desired. All that you wrote down was that in Calchemy, Newt-niz won, Leib-ton took second, and that was the only time Magnificent Marigold’s Magical Macademy got third all day.

Oh, and some final scores: one school got 22 points, and both of the others got 9. Why are you so bad at taking notes?! No time for self-recrimination. The wizarding world is waiting. Who won the tournament?

Pause here to figure it out yourself.

Answer in 3

Answer in 2

Answer in 1

At first, it may seem like there are an overwhelming number of possible scoring systems, so let's see if we can narrow our options. We can start by looking for clues in the total scores. Every event was scored the same way, so the sum of all points in the entire tournament must be a multiple of one event’s total. In other words, if there were three events that scored 3, 2, 1, which adds up to 6, the total points for the day would be 18, which is three events times 6 points. Our total is 40.

So we can make a table of possibilities: one event totaling 40 points, two totaling 20, four totaling 10, and so on. We know there were at least three events, which eliminates these options, and we can also get rid of events with fewer than 6 points, because the smallest possible total is 3 plus 2 plus 1. That leaves two prospects.

Let’s try to narrow those further by breaking down the possible points earned in each event: if first place received 7 points, the teams that had totals of 9 couldn’t have won an event because their total score would be 10 or more. That means the team with 22 would have to have won all four. But then their total would be 28, so we can eliminate that option. And with four events, these numbers can't be made to add up to 22.

Finally, if first place got 5 points, the highest possible score with four events would be 20, getting rid of these two as well. In fact, five events scoring 4 each could only reach 20 as well. That leaves us with just one possibility: five events each scored 5, 2, 1. There’s exactly one way to make those scores add up to 22: the winner finished first four times and second once.

The scores of 9 mean one team won once and lost four times, and the other lost once and took second four times. That must be Marigold’s Macademy, whose only third place finish was Calchemy based on your note. And Leib-ton’s second place finish in Calchemy means they scored 22 and won the Sly Wizard Tournament.

You have just enough evidence to prove it, keep your job, and avert war. Phew!

More Articles

View All
Y Combinator Partners Q&A
I’m Cat Manik. I’m a partner at Y Combinator, and honestly, one of my favorite parts, one of the best parts of working at Y Combinator, is getting to work with the other partners. So, I’m really pleased right now to invite them all on stage. We’re going t…
Autoionization of water | Acids and bases | AP Chemistry | Khan Academy
The autoionization of water refers to the reaction of water molecules to form two ions: the hydronium ion, which is H3O⁺, and the hydroxide ion, which is OH⁻. Water can function as an acid or base, and in this reaction, one water molecule functions as a B…
Billionaire Investor Bill Ackman's Secret 5-Step Investing Checklist
Go through that strategy and go through how it works. When you come, you know, maybe you’ll override that portfolio manager or not, but what’s the checklist you kind of go through? So we look for very high-quality businesses, what we describe as simple, …
Securing Lumber Stores (Deleted Scene) | Life Below Zero
It’s too hot out here. First t-shirt day of the year. Word is the river’s been moving upstream of me, so I’m expecting today, sometime today, maybe as late as early tomorrow morning. But not a lot of time to get the last finishing touches done here. It’s …
The Big Misconception About Electricity
This video was sponsored by Caséta by Lutron. Imagine you have a giant circuit consisting of a battery, a switch, a light bulb, and two wires, which are each 300,000 kilometers long. That is the distance light travels in one second. So, they would reach o…
Slope and intercepts from tables
We’re told Kaia rode her bicycle toward a tree at a constant speed. The table below shows the relationship between her distance to the tree and how many times her front tire rotated. So, once her tire rotated four times, she was 22 and a half meters from…