Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite20096c

Browse files
1 parentcff1c0c commite20096c

File tree

9 files changed

+203
-190
lines changed

9 files changed

+203
-190
lines changed

‎1473/combinatorics/burnside.html‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6674,14 +6674,14 @@
66746674

66756675

66766676

6677-
6678-
66796677

66806678

66816679

66826680

66836681

66846682

6683+
6684+
66856685

66866686

66876687

@@ -6788,7 +6788,7 @@
67886788
<ulclass="metadata page-metadata"data-bi-name="page info"lang="en-us"dir="ltr">
67896789

67906790
Last update:
6791-
<spanclass="git-revision-date-localized-plugin git-revision-date-localized-plugin-date"title="August17, 202519:18:12 UTC">August17, 2025</span>&emsp;
6791+
<spanclass="git-revision-date-localized-plugin git-revision-date-localized-plugin-date"title="August24, 202517:06:02 UTC">August24, 2025</span>&emsp;
67926792

67936793
<!-- Tags -->
67946794

@@ -7024,11 +7024,12 @@ <h2 id="practice-problems">Practice Problems<a class="headerlink" href="#practic
70247024
<li><ahref="https://www.spoj.com/problems/SRTMACH/">SPOJ - Sorting Machine</a></li>
70257025
<li><ahref="https://projecteuler.net/problem=281">Project Euler - Pizza Toppings</a></li>
70267026
<li><ahref="https://basecamp.eolymp.com/tr/problems/3064">ICPC 2011 SERCP - Alphabet Soup</a></li>
7027+
<li><ahref="https://basecamp.eolymp.com/en/problems/11615">GCPC 2017 - Buildings</a></li>
70277028
</ul>
70287029

70297030
<ulclass="metadata page-metadata"data-bi-name="page info"lang="en-us"dir="ltr">
70307031
<spanclass="contributors-text">Contributors:</span>
7031-
<ulclass="contributors"data-bi-name="contributors"><li><ahref="https://github.com/jakobkogler"title="jakobkogler"data-bi-name="contributorprofile"target="_blank">jakobkogler</a> (90.07%)</li><li><ahref="https://github.com/ayushkrtiwari"title="ayushkrtiwari"data-bi-name="contributorprofile"target="_blank">ayushkrtiwari</a> (3.19%)</li><li><ahref="https://github.com/adamant-pwn"title="adamant-pwn"data-bi-name="contributorprofile"target="_blank">adamant-pwn</a> (2.13%)</li><li><ahref="https://github.com/Electron1997"title="Electron1997"data-bi-name="contributorprofile"target="_blank">Electron1997</a> (1.77%)</li><li><ahref="https://github.com/eeegnu"title="eeegnu"data-bi-name="contributorprofile"target="_blank">eeegnu</a> (1.06%)</li><li><ahref="https://github.com/wikku"title="wikku"data-bi-name="contributorprofile"target="_blank">wikku</a> (1.06%)</li><li><ahref="https://github.com/NhatMinh0208"title="NhatMinh0208"data-bi-name="contributorprofile"target="_blank">NhatMinh0208</a> (0.35%)</li><li><ahref="https://github.com/ashutosh1598"title="ashutosh1598"data-bi-name="contributorprofile"target="_blank">ashutosh1598</a> (0.35%)</li></ul>
7032+
<ulclass="contributors"data-bi-name="contributors"><li><ahref="https://github.com/jakobkogler"title="jakobkogler"data-bi-name="contributorprofile"target="_blank">jakobkogler</a> (89.75%)</li><li><ahref="https://github.com/ayushkrtiwari"title="ayushkrtiwari"data-bi-name="contributorprofile"target="_blank">ayushkrtiwari</a> (3.53%)</li><li><ahref="https://github.com/adamant-pwn"title="adamant-pwn"data-bi-name="contributorprofile"target="_blank">adamant-pwn</a> (2.12%)</li><li><ahref="https://github.com/Electron1997"title="Electron1997"data-bi-name="contributorprofile"target="_blank">Electron1997</a> (1.77%)</li><li><ahref="https://github.com/eeegnu"title="eeegnu"data-bi-name="contributorprofile"target="_blank">eeegnu</a> (1.06%)</li><li><ahref="https://github.com/wikku"title="wikku"data-bi-name="contributorprofile"target="_blank">wikku</a> (1.06%)</li><li><ahref="https://github.com/NhatMinh0208"title="NhatMinh0208"data-bi-name="contributorprofile"target="_blank">NhatMinh0208</a> (0.35%)</li><li><ahref="https://github.com/ashutosh1598"title="ashutosh1598"data-bi-name="contributorprofile"target="_blank">ashutosh1598</a> (0.35%)</li></ul>
70327033
</ul>
70337034

70347035
</article>

‎1473/feed_json_updated.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎1473/feed_rss_created.xml‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎1473/feed_rss_updated.xml‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎1473/geometry/enclosing-circle.html‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6638,12 +6638,22 @@
66386638

66396639

66406640

6641+
6642+
6643+
6644+
6645+
6646+
66416647

66426648

66436649

66446650

66456651

66466652

6653+
6654+
6655+
6656+
66476657

66486658

66496659

@@ -6656,7 +6666,7 @@
66566666
<ulclass="metadata page-metadata"data-bi-name="page info"lang="en-us"dir="ltr">
66576667

66586668
Last update:
6659-
<spanclass="git-revision-date-localized-plugin git-revision-date-localized-plugin-date"title="August19, 202515:59:22 UTC">August19, 2025</span>&emsp;
6669+
<spanclass="git-revision-date-localized-plugin git-revision-date-localized-plugin-date"title="August23, 202522:03:07 UTC">August23, 2025</span>&emsp;
66606670

66616671
<!-- Tags -->
66626672

@@ -6677,14 +6687,14 @@ <h1 id="minimum-enclosing-circle">Minimum Enclosing Circle<a class="headerlink"
66776687
<p>You're given<spanclass="arithmatex">$n \leq 10^5$</span> points<spanclass="arithmatex">$p_i=(x_i, y_i)$</span>.</p>
66786688
<p>For each<spanclass="arithmatex">$p_i$</span>, find whether it lies on the circumference of the minimum enclosing circle of<spanclass="arithmatex">$\{p_1,\dots,p_n\}$</span>.</p>
66796689
</div>
6680-
<p>Here, by the minimum enclosing circle (MEC) we mean a circle with minimum possible radius that contains all the<spanclass="arithmatex">$n$</span>p, inside the circle or on its boundary. This problem has a simple randomized solution that, on first glance, looks like it would run in<spanclass="arithmatex">$O(n^3)$</span>, but actually works in<spanclass="arithmatex">$O(n)$</span> expected time.</p>
6690+
<p>Here, by the minimum enclosing circle (MEC) we mean a circle with minimum possible radius that contains all the<spanclass="arithmatex">$n$</span>points, inside the circle or on its boundary. This problem has a simple randomized solution that, on first glance, looks like it would run in<spanclass="arithmatex">$O(n^3)$</span>, but actually works in<spanclass="arithmatex">$O(n)$</span> expected time.</p>
66816691
<p>To better understand the reasoning below, we should immediately note that the solution to the problem is unique:</p>
66826692
<detailsclass="question">
66836693
<summary>Why is the MEC unique?</summary>
6684-
<p>Consider the following setup: Let<spanclass="arithmatex">$r$</span> be the radius of the MEC. We draw a circle of radius<spanclass="arithmatex">$r$</span> around each of thep<spanclass="arithmatex">$p_1,\dots,p_n$</span>. Geometrically, the centers of circles that have radius<spanclass="arithmatex">$r$</span> and cover all the points<spanclass="arithmatex">$p_1,\dots,p_n$</span> form the intersection of all<spanclass="arithmatex">$n$</span> circles.</p>
6694+
<p>Consider the following setup: Let<spanclass="arithmatex">$r$</span> be the radius of the MEC. We draw a circle of radius<spanclass="arithmatex">$r$</span> around each of thepoints<spanclass="arithmatex">$p_1,\dots,p_n$</span>. Geometrically, the centers of circles that have radius<spanclass="arithmatex">$r$</span> and cover all the points<spanclass="arithmatex">$p_1,\dots,p_n$</span> form the intersection of all<spanclass="arithmatex">$n$</span> circles.</p>
66856695
<p>Now, if the intersection is just a single point, this already proves that it is unique. Otherwise, the intersection is a shape of non-zero area, so we can reduce<spanclass="arithmatex">$r$</span> by a tiny bit, and still have non-empty intersection, which contradicts the assumption that<spanclass="arithmatex">$r$</span> was the minimum possible radius of the enclosing circle.</p>
66866696
<p>With a similar logic, we can also show the uniqueness of the MEC if we additionally demand that it passes through a given specific point<spanclass="arithmatex">$p_i$</span> or two points<spanclass="arithmatex">$p_i$</span> and<spanclass="arithmatex">$p_j$</span> (it is also unique because its radius uniquely defines it).</p>
6687-
<p>Alternatively, we can also assume that there are two MECs, and then notice that their intersection (which containsp<spanclass="arithmatex">$p_1,\dots,p_n$</span> already) must have a smaller diameter than initial circles, and thus can be covered with a smaller circle.</p>
6697+
<p>Alternatively, we can also assume that there are two MECs, and then notice that their intersection (which containsthe points<spanclass="arithmatex">$p_1,\dots,p_n$</span> already) must have a smaller diameter than initial circles, and thus can be covered with a smaller circle.</p>
66886698
</details>
66896699
<h2id="welzls-algorithm">Welzl's algorithm<aclass="headerlink"href="#welzls-algorithm"title="Permanent link">&para;</a></h2>
66906700
<p>For brevity, let's denote<spanclass="arithmatex">$\operatorname{mec}(p_1,\dots,p_n)$</span> to be the MEC of<spanclass="arithmatex">$\{p_1,\dots,p_n\}$</span>, and let<spanclass="arithmatex">$P_i = \{p_1,\dots,p_i\}$</span>.</p>
@@ -6834,7 +6844,7 @@ <h2 id="practice-problems">Practice problems<a class="headerlink" href="#practic
68346844

68356845
<ulclass="metadata page-metadata"data-bi-name="page info"lang="en-us"dir="ltr">
68366846
<spanclass="contributors-text">Contributors:</span>
6837-
<ulclass="contributors"data-bi-name="contributors"><li><ahref="https://github.com/adamant-pwn"title="adamant-pwn"data-bi-name="contributorprofile"target="_blank">adamant-pwn</a> (100.0%)</li></ul>
6847+
<ulclass="contributors"data-bi-name="contributors"><li><ahref="https://github.com/adamant-pwn"title="adamant-pwn"data-bi-name="contributorprofile"target="_blank">adamant-pwn</a> (98.09%)</li><li><ahref="https://github.com/MKLOL"title="MKLOL"data-bi-name="contributorprofile"target="_blank">MKLOL</a> (1.91%)</li></ul>
68386848
</ul>
68396849

68406850
</article>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp