Solve tasks
Task 1
It is necessary to calculate the minimum number of IPs.
There are n people, and each needs m IP addresses. The intersection of IP addresses between any two people must not exceed 50% (i.e., if m=2, then the intersection by IP can only be 1 address).
There are n people, and each needs m IP addresses. The intersection of IP addresses between any two people must not exceed 33.3% (i.e., if m=3, then the intersection by IP can only be 1 address).
Simple examples:
1. there are 2 people and they need to be assigned 2 IPs, the intersection of their IPs is no more than 50%
Person 1: IP1, IP2
Person 2: IP1, IP3
Answer: 3
2. there are 3 people and they need to be assigned 2 IPs and the intersection is no more than 50%
Person 1: IP1, IP2
Person 2: IP1, IP3
Person 3: IP2, IP3
Answer: 3
A formula is needed for calculation.
Task 2
2. There are D number of IP addresses, there are n people, each person has a different number of IP addresses (from 1 to m, D>=m), there is an intersection coefficient k.
How many ways can m addresses be extracted from D with an intersection coefficient k?
-
В каком формате должно быть решение?
-
Привіт потрібно просто формули із розрахунками?
-
Andrey Sivenko PAS web
нужны формулы
-
Есть ли у вас еще есть тестовые примеры, чтоб проверить?
-
Current freelance projects in the category Tuition
WordPress admin trainingLooking for a WordPress specialist with whom we can hold a meeting in a screen sharing format. Interested in creating Pages, Parent, Template, and displaying plugins on pages. Please indicate the cost per hour of training. Content Management Systems, Tuition ∙ 1 hour 34 minutes back ∙ 4 proposals |
I am looking for a mentor with Claude Code to launch a web project from scratch.Brief about the task: I am a beginner with no programming experience. I have a ready specification for website development (42 pages, Next.js, PostgreSQL). I want to implement it myself using Claude Code - I need a specialist who will set up the environment and teach me how to… Javascript and Typescript, Tuition ∙ 10 hours 21 minutes back ∙ 15 proposals |
French language tutor |
Setting up work with MetaQuest 3 / PC
90 USD
Need help setting up MetaQuest 3 and PC. We can agree on any point separately - setting up YouTube, TikTok stream - setting up chroma key (for MetaQuest) - assistance with software and game installation Tuition, Video Processing ∙ 12 days back ∙ 4 proposals |
BOT for sending forwarded messages from Telegram to Viber. How to do it? Where to find?Hello, is there a bot for forwarding messages from Viber to Telegram or WhatsApp Instagram? I found one from work, need help setting it up CrossPost Bot — One post, three platforms Info from the site Program for cross-posting messages in Viber (automatic sending of content… Content Management, Tuition ∙ 1 month 27 days back ∙ 28 proposals |