-
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 f86bb24 with MkDocs version: 1.6.1
- Loading branch information
Unknown
committed
Sep 23, 2024
1 parent
38e47b1
commit c089624
Showing
9 changed files
with
9 additions
and
9 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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=prev href=..><link rel=icon href=https://open.kattis.com/images/site-logo><meta name=generator content="mkdocs-1.6.1, mkdocs-material-9.5.35"><title>Solutions - kattis</title><link rel=stylesheet href=../assets/stylesheets/main.35f28582.min.css><link rel=stylesheet href=../assets/stylesheets/palette.06af60db.min.css><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"><style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style><script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script><link href=../assets/stylesheets/glightbox.min.css rel=stylesheet><style> | ||
<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=prev href=..><link rel=icon href=https://open.kattis.com/images/site-logo><meta name=generator content="mkdocs-1.6.1, mkdocs-material-9.5.36"><title>Solutions - kattis</title><link rel=stylesheet href=../assets/stylesheets/main.06209087.min.css><link rel=stylesheet href=../assets/stylesheets/palette.06af60db.min.css><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"><style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style><script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script><link href=../assets/stylesheets/glightbox.min.css rel=stylesheet><style> | ||
html.glightbox-open { overflow: initial; height: 100%; } | ||
.gslide-title { margin-top: 0px; user-select: text; } | ||
.gslide-desc { color: #666; user-select: text; } | ||
|
@@ -4460,7 +4460,7 @@ | |
<a id=__codelineno-204-18 name=__codelineno-204-18></a> <span class=nb>print</span><span class=p>(</span><span class=s2>"Emma"</span><span class=p>)</span> | ||
<a id=__codelineno-204-19 name=__codelineno-204-19></a><span class=k>else</span><span class=p>:</span> | ||
<a id=__codelineno-204-20 name=__codelineno-204-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=148:1><input checked=checked id=__tabbed_148_1 name=__tabbed_148 type=radio><div class=tabbed-labels><label for=__tabbed_148_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-205-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=148:1><input checked=checked id=__tabbed_148_1 name=__tabbed_148 type=radio><div class=tabbed-labels><label for=__tabbed_148_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-205-1>1</a></span> | ||
<span class=normal><a href=#__codelineno-205-2>2</a></span> | ||
<span class=normal><a href=#__codelineno-205-3>3</a></span> | ||
<span class=normal><a href=#__codelineno-205-4>4</a></span> | ||
|
@@ -6596,7 +6596,7 @@ | |
<a id=__codelineno-327-7 name=__codelineno-327-7></a> <span class=n>a</span> <span class=o>+=</span> <span class=n>math</span><span class=o>.</span><span class=n>pi</span> <span class=o>*</span> <span class=p>((</span><span class=n>d</span> <span class=o>*</span> <span class=n>g</span><span class=p>)</span> <span class=o>**</span> <span class=mi>2</span><span class=p>)</span> | ||
<a id=__codelineno-327-8 name=__codelineno-327-8></a> <span class=nb>print</span><span class=p>(</span><span class=n>a</span><span class=p>)</span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=greetings><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/greetings2>Greetings!</a></h2> <details class=success> <summary>Solution in Python</summary> <div class="tabbed-set tabbed-alternate" data-tabs=232:1><input checked=checked id=__tabbed_232_1 name=__tabbed_232 type=radio><div class=tabbed-labels><label for=__tabbed_232_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-328-1>1</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-328-1 name=__codelineno-328-1></a><span class=nb>print</span><span class=p>(</span><span class=nb>input</span><span class=p>()</span><span class=o>.</span><span class=n>replace</span><span class=p>(</span><span class=s2>"e"</span><span class=p>,</span> <span class=s2>"ee"</span><span class=p>))</span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=guess-the-number><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/guess>Guess the Number</a></h2> <details class=success> <summary>Solutions in 2 languages</summary> <div class="tabbed-set tabbed-alternate" data-tabs=233:2><input checked=checked id=__tabbed_233_1 name=__tabbed_233 type=radio><input id=__tabbed_233_2 name=__tabbed_233 type=radio><div class=tabbed-labels><label for=__tabbed_233_1>Lua</label><label for=__tabbed_233_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-329-1> 1</a></span> | ||
</code></pre></div></td></tr></table></div> </div> </div> </div> </details> <h2 id=guess-the-number><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/guess>Guess the Number</a></h2> <details class=success> <summary>Solutions in 2 languages</summary> <div class="tabbed-set tabbed-alternate" data-tabs=233:2><input checked=checked id=__tabbed_233_1 name=__tabbed_233 type=radio><input id=__tabbed_233_2 name=__tabbed_233 type=radio><div class=tabbed-labels><label for=__tabbed_233_1>Lua</label><label for=__tabbed_233_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-329-1> 1</a></span> | ||
<span class=normal><a href=#__codelineno-329-2> 2</a></span> | ||
<span class=normal><a href=#__codelineno-329-3> 3</a></span> | ||
<span class=normal><a href=#__codelineno-329-4> 4</a></span> | ||
|