diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-04 19:15:15 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-07-04 19:15:15 +0900 |
| commit | 4b29e31a34357d4f4953fd0d277724852bf4418c (patch) | |
| tree | 6d9c3e47fe988f211e8598cbedd2031c09ca54cb /services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html | |
| parent | 98db243a59fb6a409b3677f2195e96da6fd39564 (diff) | |
| parent | 80f0ab31aceec35c9fd04a6387b14349b806f713 (diff) | |
| download | nsfisis.dev-4b29e31a34357d4f4953fd0d277724852bf4418c.tar.gz nsfisis.dev-4b29e31a34357d4f4953fd0d277724852bf4418c.tar.zst nsfisis.dev-4b29e31a34357d4f4953fd0d277724852bf4418c.zip | |
Merge branch 'blog/toc'
Diffstat (limited to 'services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html')
| -rw-r--r-- | services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html b/services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html index 6c961ace..0795b3a7 100644 --- a/services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html +++ b/services/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html @@ -15,7 +15,7 @@ <meta name="Hatena::Bookmark" content="nocomment"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHP カンファレンス沖縄で出題されたコードゴルフの問題を解いてみた|REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53"> + <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade"> </head> <body class="single"> <header class="header"> @@ -55,6 +55,37 @@ </li> </ul> </header> + <nav class="toc"> + <h2>目次</h2> + <ul> + <li> + <a href="#section--intro">はじめに</a> + </li> + <li> + <a href="#section--solution">解</a> + </li> + <li> + <a href="#section--techniques">使用したテクニック</a> + <ul> + <li> + <a href="#section--techniques--exponential-notation">指数表記</a> + </li> + <li> + <a href="#section--techniques--shorten-loop">foreach や for の中身を1つの文に</a> + </li> + <li> + <a href="#section--techniques--omit-initialization">$r に初期値を入れない</a> + </li> + <li> + <a href="#section--techniques--put-text-outside-php-tag">PHP タグの外に文字列を置く</a> + </li> + </ul> + </li> + <li> + <a href="#section--outro">おわりに</a> + </li> + </ul> + </nav> <div class="post-content"> <section id="changelog"> <h2><a href="#changelog">更新履歴</a></h2> |
