199 lines
7.7 KiB
HTML
199 lines
7.7 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<!-- START: two lines up starts content from: inc/top.default.html -->
|
|
<!-- -->
|
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
|
|
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
|
|
<!-- !!! DO NOT MODIFY THIS FILE - This file is generated by a tool !!! -->
|
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
<!-- -->
|
|
<!-- END: this line ends content from: inc/top.default.html -->
|
|
<!-- -->
|
|
<!-- This web page was formed via the tool: bin/gen-other-html.sh -->
|
|
<!-- -->
|
|
<!-- The content of main section of this web page came from: 1993/ejb/hanoi.md -->
|
|
<!-- -->
|
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
<!-- !!! Do not modify this web page, instead modify the file: 1993/ejb/hanoi.md -->
|
|
<!-- !!! Do not modify this web page, instead modify the file: 1993/ejb/hanoi.md -->
|
|
<!-- !!! Do not modify this web page, instead modify the file: 1993/ejb/hanoi.md -->
|
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
<!-- -->
|
|
<!-- Markdown content was converted into HTML via the tool: bin/md2html.sh -->
|
|
<!-- -->
|
|
<!-- START: this line starts content from: inc/head.default.html -->
|
|
|
|
<head>
|
|
<link rel="stylesheet" href="../../ioccc.css">
|
|
<link rel=“shortcut icon” HREF=“"../../ioccc.ico”>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
|
<title>The International Obfuscated C Code Contest</title>
|
|
<meta name="description" content="hanoi.md for 1993/ejb">
|
|
<meta name="keywords" content="IOCCC, 1993/ejb, hanoi.md">
|
|
</head>
|
|
|
|
<!-- END: this line ends content from: inc/head.default.html -->
|
|
<!-- START: this line starts content from: inc/body.default.html -->
|
|
|
|
<body>
|
|
|
|
<!-- END: this line ends content from: inc/body.default.html -->
|
|
<!-- START: this line starts content from: inc/header.default.html -->
|
|
|
|
<div class="header">
|
|
<img src="../../png/ioccc.png" alt="IOCCC image by Matt Zucker" width=300 height=110>
|
|
<h1>The International Obfuscated C Code Contest</h1>
|
|
<h2>hanoi.md for 1993/ejb</h2>
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/header.default.html -->
|
|
<!-- START: this line starts content from: inc/topnav.up2index.html -->
|
|
|
|
<div class="topnav">
|
|
<a class="Left" href="index.html">↑ jump to index.html ↑</a>
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/topnav.up2index.html -->
|
|
<!-- START: this line starts content from: inc/begin-row.default.html -->
|
|
|
|
<div class="row">
|
|
|
|
<!-- END: this line ends content from: inc/begin-row.default.html -->
|
|
<!-- START: this line starts content from: inc/begin-leftcolumn.default.html -->
|
|
|
|
<div class="leftcolumn">
|
|
|
|
<!-- END: this line ends content from: inc/begin-leftcolumn.default.html -->
|
|
<!-- START: this line starts content from: inc/sidenav.default.html -->
|
|
|
|
<div class="sidenav">
|
|
<a href="#content">Jump to contents</a>
|
|
</div>
|
|
<hr>
|
|
<div class="sidenav">
|
|
<a href="../../index.html">IOCCC Home</a>
|
|
<a href="../../years.html">Winning Entries</a>
|
|
<a href="../../authors.html">People who have won</a>
|
|
<a href="../../location.html">Location of authors</a>
|
|
</div>
|
|
<hr>
|
|
<div class="sidenav">
|
|
<a href="../../news.html">IOCCC News</a>
|
|
<a href="../../status.html">Contest status</a>
|
|
<a href="../../faq.html#submit">How to enter the IOCCC</a>
|
|
<a href="../../faq.html">FAQ</a>
|
|
</div>
|
|
<hr>
|
|
<div class="sidenav">
|
|
<a href="../../bugs.html">Bugs & (mis)features</a>
|
|
<a href="../../faq.html#fix_an_entry">Fixing IOCCC entries</a>
|
|
<a href="../../faq.html#fix_web_site">Fixing the web site</a>
|
|
<a href="../../faq.html#fix_author">Fixing author info</a>
|
|
<a href="../../thanks-for-help.html">Thanks for the help</a>
|
|
</div>
|
|
<hr>
|
|
<div class="sidenav">
|
|
<a href="../../judges.html">The IOCCC Judges</a>
|
|
<a href="../../contact.html">Contacting the IOCCC</a>
|
|
</div>
|
|
<hr>
|
|
<div class="sidenav">
|
|
<a href="#top">Jump to top</a>
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/sidenav.default.html -->
|
|
<!-- START: this line starts content from: inc/end-leftcolumn.default.html -->
|
|
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/end-leftcolumn.default.html -->
|
|
<!-- START: this line starts content from: inc/begin-rightcolumn.default.html -->
|
|
|
|
<div class="rightcolumn">
|
|
|
|
<!-- END: this line ends content from: inc/begin-rightcolumn.default.html -->
|
|
<!-- START: this line starts content from: inc/before-content.default.html -->
|
|
|
|
<a name="content"></a>
|
|
|
|
<!-- END: this line ends content from: inc/before-content.default.html -->
|
|
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
|
|
|
<h1 id="the-towers-of-hanoi-puzzle">The Towers of Hanoi puzzle</h1>
|
|
<p>The Towers of Hanoi is a puzzle consisting of three posts
|
|
and several rings of various sizes. The initial
|
|
configuration of the game is that all the rings are stacked
|
|
in decreasing order of size on one post. The object of the
|
|
game is to move all the rings from one post to another
|
|
subject to two rules: only one ring can be moved at a time,
|
|
and at no time can one ring be placed on top of a smaller
|
|
ring. The number of steps necessary to solve this puzzle is
|
|
exponential in the number rings.</p>
|
|
<!--
|
|
|
|
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
|
|
|
|
You are free to share and adapt this file under the terms of this license:
|
|
|
|
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
|
|
|
|
For more information, see:
|
|
|
|
https://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
-->
|
|
|
|
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
|
<!-- START: this line starts content from: inc/after-content.default.html -->
|
|
|
|
<!-- END: this line ends content from: inc/after-content.default.html -->
|
|
<!-- START: this line starts content from: inc/end-rightcolumn.default.html -->
|
|
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/end-rightcolumn.default.html -->
|
|
<!-- START: this line starts content from: inc/end-row.default.html -->
|
|
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/end-row.default.html -->
|
|
<!-- START: this line starts content from: inc/footer.default.html -->
|
|
|
|
<!--
|
|
|
|
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
|
|
|
|
You are free to share and adapt this file under the terms of this license:
|
|
|
|
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
|
|
|
|
For more information, see:
|
|
|
|
https://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
-->
|
|
|
|
<div class="footer">
|
|
<h2>Copyright and CC BY-SA 4.0 License</h2>
|
|
<p>This file and web page is:</p>
|
|
<blockquote><b>Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.</b></p></blockquote>
|
|
<p>You are free to share and adapt this file under the terms of this license:</p>
|
|
<blockquote><b>Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</b></blockquote>
|
|
<p>For more information, see:</p>
|
|
<blockquote><a
|
|
href="https://creativecommons.org/licenses/by-sa/4.0/">https://creativecommons.org/licenses/by-sa/4.0/</a></blockquote>
|
|
<h2>Coda</h2>
|
|
<p><a href="https://validator.w3.org/nu/?doc=#">Nu HTML check this web page</a></p>
|
|
<p><a href="#top">Jump to top</a> <a href="#content">Jump to Content</a> <a href="#inventory">Jump to Inventory</a></p>
|
|
</div>
|
|
|
|
<!-- END: this line ends content from: inc/footer.default.html -->
|
|
<!-- START: this line starts content from: inc/bottom.default.html -->
|
|
|
|
</body>
|
|
</html>
|
|
|
|
<!-- END: this line ends content from: inc/bottom.default.html -->
|