游戏王残局简化版

Annotation For 解法参考/MH-20210116.html
Login

Annotation For 解法参考/MH-20210116.html

Origin for each line in 解法参考/MH-20210116.html from check-in da30622ef9:

ebdeddb639 2023-09-15    1: <!DOCTYPE html>
ebdeddb639 2023-09-15    2: <html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
ebdeddb639 2023-09-15    3: <head>
ebdeddb639 2023-09-15    4:   <meta charset="utf-8" />
ebdeddb639 2023-09-15    5:   <meta name="generator" content="pandoc" />
ebdeddb639 2023-09-15    6:   <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
ebdeddb639 2023-09-15    7:   <title>MH-20210116</title>
ebdeddb639 2023-09-15    8:   <style>
ebdeddb639 2023-09-15    9: code{white-space: pre-wrap;}
ebdeddb639 2023-09-15   10: span.smallcaps{font-variant: small-caps;}
ebdeddb639 2023-09-15   11: div.columns{display: flex; gap: min(4vw, 1.5em);}
ebdeddb639 2023-09-15   12: div.column{flex: auto; overflow-x: auto;}
ebdeddb639 2023-09-15   13: div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ebdeddb639 2023-09-15   14: 
ebdeddb639 2023-09-15   15: ul.task-list[class]{list-style: none;}
ebdeddb639 2023-09-15   16: ul.task-list li input[type="checkbox"] {
ebdeddb639 2023-09-15   17: font-size: inherit;
ebdeddb639 2023-09-15   18: width: 0.8em;
ebdeddb639 2023-09-15   19: margin: 0 0.8em 0.2em -1.6em;
ebdeddb639 2023-09-15   20: vertical-align: middle;
ebdeddb639 2023-09-15   21: }
ebdeddb639 2023-09-15   22: .display.math{display: block; text-align: center; margin: 0.5rem auto;}
ebdeddb639 2023-09-15   23: </style>
ebdeddb639 2023-09-15   24:   <style type="text/css">@media screen and (min-aspect-ratio:1/1) {html {background-color: f8f8f8;background-image:linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);background-size: 8px 8px;background-position: 0 0, 16px 8px;}body {border: solid #a0a0a0 1px ;border-radius: 20px ;padding: 26px ;margin: 16px ;color: #101010 ;background: linear-gradient(to right, #efefefff, #efefeffc);padding: 2em 18%;line-height: 2.1em;box-shadow: 0px 0px 1px rgba(160, 160, 160, 1), 0px 0px 1px rgba(160, 160, 160, 1);}}h1,h2,h3,h4,h5,h6 {font-size: 1.5em;color: #3F5770;border-bottom: 1px solid #dddddd;margin: 1.2em 0em;}a {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;background-color: white;text-decoration-color: blue;border-radius: 0.2em;}a:visited {color: blue;text-decoration-color: white;}a:active {color: red;}nav ul li {margin: 1.2em 0em;}p::before {content: "  ";}p {margin: 1.2em 0;}.title {background-color: white;font-size: 2em;text-align: center;}b {background-color: white;list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;border-radius: 0.2em;}details {border-bottom: 1px solid #dddddd;}details > summary {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;outline: none;border-radius: 0.2em;}pre {background: #f6f6f6;border-left: 0.5em solid #ccc;padding: 0.4em;border-radius: 0.2em;overflow-wrap:break-word;}pre:active {color: red;}code {font-family: "Verdana";}button {background: #ffffff;color: #20894d;}button:active {color: red;}</style>
ebdeddb639 2023-09-15   25:   <!--[if lt IE 9]>
ebdeddb639 2023-09-15   26:     <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
ebdeddb639 2023-09-15   27:   <![endif]-->
ebdeddb639 2023-09-15   28: </head>
ebdeddb639 2023-09-15   29: <body>
ebdeddb639 2023-09-15   30: <header id="title-block-header">
ebdeddb639 2023-09-15   31: <h1 class="title">MH-20210116</h1>
ebdeddb639 2023-09-15   32: </header>
ebdeddb639 2023-09-15   33: <nav id="TOC" role="doc-toc">
ebdeddb639 2023-09-15   34: <ul>
ebdeddb639 2023-09-15   35: <li><a href="#原解" id="toc-原解"><span class="toc-section-number">1</span> 原解</a></li>
d975a7f729 2023-09-15   36: <li><a href="#衍生" id="toc-衍生"><span class="toc-section-number">2</span> 衍生</a>
d975a7f729 2023-09-15   37: <ul>
d975a7f729 2023-09-15   38: <li><a href="#问" id="toc-问"><span class="toc-section-number">2.1</span> 问</a>
d975a7f729 2023-09-15   39: <ul>
d975a7f729 2023-09-15   40: <li><a href="#答" id="toc-答"><span class="toc-section-number">2.1.1</span> 答</a></li>
d975a7f729 2023-09-15   41: <li><a href="#解" id="toc-解"><span class="toc-section-number">2.1.2</span> 解</a></li>
d975a7f729 2023-09-15   42: </ul></li>
d975a7f729 2023-09-15   43: </ul></li>
ebdeddb639 2023-09-15   44: </ul>
ebdeddb639 2023-09-15   45: </nav>
ebdeddb639 2023-09-15   46: <h1 data-number="1" id="原解"><span class="header-section-number">1</span> 原解</h1>
ebdeddb639 2023-09-15   47: <pre><code>1 * 5 = 5
ebdeddb639 2023-09-15   48: 
ebdeddb639 2023-09-15   49: 2 * 4 = 8
ebdeddb639 2023-09-15   50: 
ebdeddb639 2023-09-15   51: 3 * 3 = 9</code></pre>
ebdeddb639 2023-09-15   52: <h1 data-number="2" id="衍生"><span class="header-section-number">2</span> 衍生</h1>
d975a7f729 2023-09-15   53: <h2 data-number="2.1" id="问"><span class="header-section-number">2.1</span> 问</h2>
ebdeddb639 2023-09-15   54: <p>给定一个由数个小正整数累加起来的大正整数,问这些小正整数的值为多少才能让这些小正整数的累乘值最大</p>
d975a7f729 2023-09-15   55: <h3 data-number="2.1.1" id="答"><span class="header-section-number">2.1.1</span> 答</h3>
ebdeddb639 2023-09-15   56: <p>非 3 即 2</p>
d975a7f729 2023-09-15   57: <h3 data-number="2.1.2" id="解"><span class="header-section-number">2.1.2</span> 解</h3>
ebdeddb639 2023-09-15   58: <p>可能的值有 1 ~ 正无穷</p>
ebdeddb639 2023-09-15   59: <p>由指数爆炸性可知,只需要考虑 2 3 4</p>
da30622ef9 2023-09-15   60: <p>由 4 是 2 的倍数可知,只需要考虑 2 3</p>
da30622ef9 2023-09-15   61: <p>由某些正整数不能被 2 整除可知,需要 3</p>
da30622ef9 2023-09-15   62: <p>由某些正整数不能被 3 整除可知,需要 2</p>
da30622ef9 2023-09-15   63: <p>故,非 3 即 2</p>
da30622ef9 2023-09-15   64: <p>取 2 3 的最小公倍数 6</p>
da30622ef9 2023-09-15   65: <pre><code>2 ^ 3 = 8
da30622ef9 2023-09-15   66: 
da30622ef9 2023-09-15   67: 3 ^ 3 = 9</code></pre>
da30622ef9 2023-09-15   68: <p>故,优先选 3</p>
ebdeddb639 2023-09-15   69: <script>
ebdeddb639 2023-09-15   70: 
ebdeddb639 2023-09-15   71: document.onclick = function(event) {
ebdeddb639 2023-09-15   72: 
ebdeddb639 2023-09-15   73:   var target = event.target
ebdeddb639 2023-09-15   74: 
ebdeddb639 2023-09-15   75:   if (target.tagName == "PRE"
ebdeddb639 2023-09-15   76:   || target.tagName == "CODE") {
ebdeddb639 2023-09-15   77:     if (window.getSelection().toString() !== "") {
ebdeddb639 2023-09-15   78:       return
ebdeddb639 2023-09-15   79:       }
ebdeddb639 2023-09-15   80:     var range = document.createRange();
ebdeddb639 2023-09-15   81:     range.selectNodeContents(target);
ebdeddb639 2023-09-15   82:     window.getSelection().removeAllRanges();
ebdeddb639 2023-09-15   83:     window.getSelection().addRange(range);
ebdeddb639 2023-09-15   84:     var successful = document.execCommand("copy");
ebdeddb639 2023-09-15   85:     target.removeAttribute("contenteditable");
ebdeddb639 2023-09-15   86:     window.getSelection().removeAllRanges();
ebdeddb639 2023-09-15   87:     }
ebdeddb639 2023-09-15   88: 
ebdeddb639 2023-09-15   89:   }
ebdeddb639 2023-09-15   90: 
ebdeddb639 2023-09-15   91: </script>
ebdeddb639 2023-09-15   92: </body>
ebdeddb639 2023-09-15   93: </html>