-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 4e2b43f with MkDocs version: 1.6.0
- Loading branch information
Unknown
committed
Jun 3, 2024
1 parent
3f3646a
commit 3f966a7
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,7 +232,7 @@ | |
<a id=__codelineno-2-19 name=__codelineno-2-19></a> <span class=n>s</span> <span class=o>+=</span> <span class=n>b</span><span class=p>[</span><span class=n>s</span> <span class=o>-</span> <span class=mi>1</span><span class=p>]</span> | ||
<a id=__codelineno-2-20 name=__codelineno-2-20></a> <span class=n>hops</span> <span class=o>+=</span> <span class=mi>1</span> | ||
<a id=__codelineno-2-21 name=__codelineno-2-21></a><span class=nb>print</span><span class=p>(</span><span class=n>hops</span><span class=p>)</span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=3d-printed-statues><img alt=π‘ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e1.svg title=:yellow_circle:> <a href=https://open.kattis.com/problems/3dprinter>3D Printed Statues</a></h2> <details class=success> <summary>Solutions in 4 languages</summary> <div class="tabbed-set tabbed-alternate" data-tabs=3:4><input checked=checked id=__tabbed_3_1 name=__tabbed_3 type=radio><input id=__tabbed_3_2 name=__tabbed_3 type=radio><input id=__tabbed_3_3 name=__tabbed_3 type=radio><input id=__tabbed_3_4 name=__tabbed_3 type=radio><div class=tabbed-labels><label for=__tabbed_3_1>Go</label><label for=__tabbed_3_2>Java</label><label for=__tabbed_3_3>Lua</label><label for=__tabbed_3_4>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-3-1> 1</a></span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=3d-printed-statues><img alt=π’ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e2.svg title=:green_circle:> <a href=https://open.kattis.com/problems/3dprinter>3D Printed Statues</a></h2> <details class=success> <summary>Solutions in 4 languages</summary> <div class="tabbed-set tabbed-alternate" data-tabs=3:4><input checked=checked id=__tabbed_3_1 name=__tabbed_3 type=radio><input id=__tabbed_3_2 name=__tabbed_3 type=radio><input id=__tabbed_3_3 name=__tabbed_3 type=radio><input id=__tabbed_3_4 name=__tabbed_3 type=radio><div class=tabbed-labels><label for=__tabbed_3_1>Go</label><label for=__tabbed_3_2>Java</label><label for=__tabbed_3_3>Lua</label><label for=__tabbed_3_4>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-3-1> 1</a></span> | ||
<span class=normal><a href=#__codelineno-3-2> 2</a></span> | ||
<span class=normal><a href=#__codelineno-3-3> 3</a></span> | ||
<span class=normal><a href=#__codelineno-3-4> 4</a></span> | ||
|
@@ -345,7 +345,7 @@ | |
<a id=__codelineno-7-17 name=__codelineno-7-17></a> <span class=k>break</span> | ||
<a id=__codelineno-7-18 name=__codelineno-7-18></a> <span class=k>if</span> <span class=ow>not</span> <span class=n>solved</span><span class=p>:</span> | ||
<a id=__codelineno-7-19 name=__codelineno-7-19></a> <span class=nb>print</span><span class=p>(</span><span class=s2>"no solution"</span><span class=p>)</span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=99-problems><img alt=π‘ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e1.svg title=:yellow_circle:> <a href=https://open.kattis.com/problems/99problems>99 Problems</a></h2> <details class=success> <summary>Solutions in 2 languages</summary> <div class="tabbed-set tabbed-alternate" data-tabs=5:2><input checked=checked id=__tabbed_5_1 name=__tabbed_5 type=radio><input id=__tabbed_5_2 name=__tabbed_5 type=radio><div class=tabbed-labels><label for=__tabbed_5_1>Lua</label><label for=__tabbed_5_2>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-8-1>1</a></span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=99-problems><img alt=π’ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e2.svg title=:green_circle:> <a href=https://open.kattis.com/problems/99problems>99 Problems</a></h2> <details class=success> <summary>Solutions in 2 languages</summary> <div class="tabbed-set tabbed-alternate" data-tabs=5:2><input checked=checked id=__tabbed_5_1 name=__tabbed_5 type=radio><input id=__tabbed_5_2 name=__tabbed_5 type=radio><div class=tabbed-labels><label for=__tabbed_5_1>Lua</label><label for=__tabbed_5_2>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-8-1>1</a></span> | ||
<span class=normal><a href=#__codelineno-8-2>2</a></span> | ||
<span class=normal><a href=#__codelineno-8-3>3</a></span> | ||
<span class=normal><a href=#__codelineno-8-4>4</a></span> | ||
|
@@ -1763,7 +1763,7 @@ | |
<a id=__codelineno-75-8 name=__codelineno-75-8></a> <span class=c1># r = d / 2</span> | ||
<a id=__codelineno-75-9 name=__codelineno-75-9></a> <span class=c1># V + Ο * (r**2) * (2*r) + 2 * (1/3) * Ο * (R-r) * (r**2 + r*R + R**2) == Ο * (R**2) * (2*R)</span> | ||
<a id=__codelineno-75-10 name=__codelineno-75-10></a> <span class=nb>print</span><span class=p>(</span><span class=n>math</span><span class=o>.</span><span class=n>pow</span><span class=p>(</span><span class=n>D</span><span class=o>**</span><span class=mi>3</span> <span class=o>-</span> <span class=mi>6</span> <span class=o>*</span> <span class=n>V</span> <span class=o>/</span> <span class=n>math</span><span class=o>.</span><span class=n>pi</span><span class=p>,</span> <span class=mi>1</span> <span class=o>/</span> <span class=mi>3</span><span class=p>))</span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=beekeeper><img alt=π‘ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e1.svg title=:yellow_circle:> <a href=https://open.kattis.com/problems/beekeeper>Beekeeper</a></h2> <details class=success> <summary>Solution in Python</summary> <div class="tabbed-set tabbed-alternate" data-tabs=52:1><input checked=checked id=__tabbed_52_1 name=__tabbed_52 type=radio><div class=tabbed-labels><label for=__tabbed_52_1>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-76-1> 1</a></span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=beekeeper><img alt=π’ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e2.svg title=:green_circle:> <a href=https://open.kattis.com/problems/beekeeper>Beekeeper</a></h2> <details class=success> <summary>Solution in Python</summary> <div class="tabbed-set tabbed-alternate" data-tabs=52:1><input checked=checked id=__tabbed_52_1 name=__tabbed_52 type=radio><div class=tabbed-labels><label for=__tabbed_52_1>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-76-1> 1</a></span> | ||
<span class=normal><a href=#__codelineno-76-2> 2</a></span> | ||
<span class=normal><a href=#__codelineno-76-3> 3</a></span> | ||
<span class=normal><a href=#__codelineno-76-4> 4</a></span> | ||
|
@@ -4295,7 +4295,7 @@ | |
<a id=__codelineno-197-18 name=__codelineno-197-18></a> <span class=nb>print</span><span class=p>(</span><span class=s2>"Emma"</span><span class=p>)</span> | ||
<a id=__codelineno-197-19 name=__codelineno-197-19></a><span class=k>else</span><span class=p>:</span> | ||
<a id=__codelineno-197-20 name=__codelineno-197-20></a> <span class=nb>print</span><span class=p>(</span><span class=s2>"Tie"</span><span class=p>)</span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=a-different-problem><img alt=π’ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e2.svg title=:green_circle:> <a href=https://open.kattis.com/problems/different>A Different Problem</a></h2> <details class=success> <summary>Solution in Python</summary> <div class="tabbed-set tabbed-alternate" data-tabs=142:1><input checked=checked id=__tabbed_142_1 name=__tabbed_142 type=radio><div class=tabbed-labels><label for=__tabbed_142_1>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-198-1>1</a></span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=a-different-problem><img alt=π‘ class=twemoji src=https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f7e1.svg title=:yellow_circle:> <a href=https://open.kattis.com/problems/different>A Different Problem</a></h2> <details class=success> <summary>Solution in Python</summary> <div class="tabbed-set tabbed-alternate" data-tabs=142:1><input checked=checked id=__tabbed_142_1 name=__tabbed_142 type=radio><div class=tabbed-labels><label for=__tabbed_142_1>Python</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-198-1>1</a></span> | ||
<span class=normal><a href=#__codelineno-198-2>2</a></span> | ||
<span class=normal><a href=#__codelineno-198-3>3</a></span> | ||
<span class=normal><a href=#__codelineno-198-4>4</a></span> | ||
|