aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html')
-rw-r--r--public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
index d8b8502..fbac1f0 100644
--- a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
+++ b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
@@ -111,7 +111,7 @@
書いたものがこちら:
</p>
- <pre language="php" linenumbering="unnumbered">
+ <pre class="highlight" language="php" linenumbering="unnumbered">
<code>[&lt;?php $n=$argv[1];foreach([1e4,5e3,2e3,1e3,500,100,50,10,5,1]as$x)for(;$n&gt;=$x;$n-=$x)$r[]=$x;echo implode(&apos;, &apos;,$r??[]);?&gt;]</code>
</pre>
@@ -123,7 +123,7 @@
こちらは改行とスペースを追加したバージョン:
</p>
- <pre language="php" linenumbering="unnumbered">
+ <pre class="highlight" language="php" linenumbering="unnumbered">
<code>[&lt;?php
$n = $argv[1];