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

🔢 задача: есть 100 Мужчин и 100 Женщин. Как создать 100 крепких пар?


less than 1m read
·Nov 3, 2024

Итак, предположим, у нас есть замкнутое пространство, например, космический корабль, который летит на Марс, и в нем сидит 100 юношей и 100 девушек. Соответственно, они хотят создать 100 семей. На всякий случай, семьи у нас будут исключительно юноши с девушками.

Кроме того, давайте предположим, что у каждого юноши есть строго упорядоченные отношения ко всем девушкам. То же самое у девушек: каждый юноша упорядочен, и требуется создать 100 наиболее прочных семей.

А в каком случае это будет достигнуто? Ну, по видеому, если для каждой семьи будут соблюдаться следующие условия: если даже у молодого человека есть девушка, которая нравится ему больше чем его жена, то этой девушке он не нравится больше чем её муж.

Вот дальше можете поставить ролик на паузу и попытаться придумать, как же это сделать.

More Articles

View All
Baker v. Carr | Interactions among branches of government | US government and civics | Khan Academy
[Kim] Hi, this is Kim from Khan Academy. Today we’re learning more about Baker versus Carr, a landmark Supreme Court case decided in 1962. Baker versus Carr grappled with an incredibly important issue: whether one person’s vote is equal to another person’…
7 Lessons For Creatives From Nikola Tesla
Nikola Tesla was an inventor, electrical engineer, and physicist. He’s seen as one of the greatest engineers and inventors of all time and is best known for his contributions to the modern electricity supply system. Tesla spent a great portion of his life…
Why The Market Hasn't Crashed Yet
What’s up, Grandma’s guys? Here, so we gotta be really, really careful not to blink because if you do, whoops! There you go; you missed the latest market crash, and, uh, now we’re back at another all-time high. Better luck next time! All right, I know I’…
Sample size for a given margin of error for a mean | AP Statistics | Khan Academy
Nadia wants to create a confidence interval to estimate the mean driving range for her company’s new electric vehicle. She wants the margin of error to be no more than 10 kilometers at a 90 percent level of confidence. A pilot study suggests that the driv…
Bill Gates: COVID-19 has Set Back Global Health for Years | National Geographic
[Music] Bill, it’s so nice to talk with you about this goalkeeper’s report. But I was really struck how different it was from the last time we talked about goalkeepers in 2018, and that was so much of a more positive report. You know, all of the indicato…
Michael Seibel - How to Plan an MVP
My name is Michael. Uh, I work here at Y Combinator. I helped run the accelerator. Uh, before that, I did two YC startups—one in 2007 and one in 2012. Today, I’m going to talk to you about a minimum viable product, so MVP. We always yell at founders to n…