<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ヒューマン・リソース・マシーン &#8211; リビングの魔王</title>
	<atom:link href="https://living-maou.com/tag/%E3%83%92%E3%83%A5%E3%83%BC%E3%83%9E%E3%83%B3%E3%83%BB%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%9E%E3%82%B7%E3%83%BC%E3%83%B3/feed/" rel="self" type="application/rss+xml" />
	<link>https://living-maou.com</link>
	<description></description>
	<lastBuildDate>Sun, 07 Jan 2024 02:34:20 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://living-maou.com/wp-content/uploads/2020/02/cropped-favicon-32x32.png</url>
	<title>ヒューマン・リソース・マシーン &#8211; リビングの魔王</title>
	<link>https://living-maou.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【32年目～41年目】攻略！ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) #04</title>
		<link>https://living-maou.com/switch-hrm04/</link>
					<comments>https://living-maou.com/switch-hrm04/#respond</comments>
		
		<dc:creator><![CDATA[メソ]]></dc:creator>
		<pubDate>Wed, 02 Jun 2021 05:23:12 +0000</pubDate>
				<category><![CDATA[ビジュアルプログラミング]]></category>
		<category><![CDATA[NintendoSwitch]]></category>
		<category><![CDATA[アプリ]]></category>
		<category><![CDATA[ゲーム]]></category>
		<category><![CDATA[ヒューマン・リソース・マシーン]]></category>
		<guid isPermaLink="false">https://living-maou.com/?p=2068</guid>

					<description><![CDATA[この記事では、ヒューマン・リソース・マシーンの私の解答を紹介します。 夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。 注意事項 あくまでへっぽ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04.jpg"><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-2069" src="https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_hrs04-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>この記事では、<a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm00/">ヒューマン・リソース・マシーン<span class="fa fa-external-link internal-icon anchor-icon"></span></a>の私の解答を紹介します。</p>
<p>夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。</p>
<p><span style="color: #ff0000;"><b>注意事項</b></span></p>
<div class="blank-box bb-red">あくまで<span style="color: #ff0000;">へっぽこ元プログラマーの解答</span>です。←ココ大事<br />
効率化目標を達成していないステージもあります。<br />
もっとよい解き方があるかもしれないことをご承知おきください。</div>
<p>自分の解答とくらべて、<br />
参考にする（なる？）もよし、<br />
鼻で笑うもよし、<br />
違いを楽しんでいただけたら幸いです。</p>
<p>攻略も今回で最終回！32年目～41年目までです。</p>
<p>終盤は、ふつうにクリアするだけで精一杯でした 汗</p>
<p>他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/">【 1年目～10年目】攻略！ヒューマン・リソース・マシーン #01<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm02/">【11年目～21年目】攻略！ヒューマン・リソース・マシーン #02<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm03/">【22年目～31年目】攻略！ヒューマン・リソース・マシーン #03<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<h2><span id="toc1">32年目：同じのはいくつ？</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01.jpg"><img decoding="async" class="aligncenter size-full wp-image-2070" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01.jpg" alt="32年目：同じのはいくつ？" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_32_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>間接指定を使ってカーペット上の文字を順番に比較していき、ZEROのカーペットになったら比較を終了します。</p>
<p>&nbsp;</p>
<h2><span id="toc2">34年目：母音を省け</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01.jpg"><img decoding="async" class="aligncenter size-full wp-image-2071" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01.jpg" alt="34年目：母音を省け" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_34_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>間接指定を使って、カーペット上の文字を順番に比較していき、ZEROのカーペットになったら比較を終了します。</p>
<p>&nbsp;</p>
<h2><span id="toc3">35年目：ダブりを省け</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2072" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01.jpg" alt="35年目：ダブりを省け" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_35_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>効率化目標を達成できませんでした。</p>
<p>入力側のデータをカーペット上に保管しておきましょう。</p>
<p>END-Aには一番最後のアドレス番号を入れています。</p>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc4">36年目：辞書順に並べよ</span></h2>
<p>スピード目標のみ達成。</p>
<h3><span id="toc5">スピード目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2073" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01.jpg" alt="36年目：辞書順に並べよ（スピード）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_36_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>1つ目の単語を 0～ 7に、2つ目の単語を10～17に保管します。</p>
<p>A.LEN、B.LENには、それぞれの単語の文字数をカウントしています。</p>
<p>&nbsp;</p>
<h2><span id="toc6">37年目：次へつなげよ</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2074" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01.jpg" alt="37年目：次へつなげよ" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_37_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>&nbsp;</p>
<h2><span id="toc7">38年目：数字をバラせ</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2075" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01.jpg" alt="38年目：数字をバラせ" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_38_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>効率化目標を達成できませんでした……</p>
<ol>
<li>100の位（入力 ÷ 100）</li>
<li>10の位（1の余り ÷ 10）</li>
<li>1の位（2の余り）</li>
</ol>
<p>100の位が0の時、0を出力すると怒られるので注意！</p>
<p>例えば、入力が29の時、0、2、9 を出力しようとするとＮＧ。2と9のみ出力します。</p>
<p>10の位も同様で、入力が7の時、0、0、7ではなく、7 のみ出力します。</p>
<p>&nbsp;</p>
<h2><span id="toc8">39年目：座標をもとめよ</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2076" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01.jpg" alt="39年目：座標をもとめよ" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_39_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<ul>
<li>X … 入力データを4で割ったあまり</li>
<li>Y … 入力データを4で割った商</li>
</ul>
<p>&nbsp;</p>
<h2><span id="toc9">40年目：素因数に分解せよ</span></h2>
<p>サイズ目標のみ達成。</p>
<h3><span id="toc10">サイズ目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2077" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01.jpg" alt="40年目：素因数に分解せよ" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_40_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>ヒューマン・リソース・マシーンで一番難しい問題。上司が無理して解く必要はないというレベルです。</p>
<p>直面するのが「素数をどうやって求めるのか」問題。</p>
<p>素数とは｢その数と1でしか割れない数字｣のことですが、残念ながら素数を求める公式はないそうです（絶望）</p>
<p>公式がないなら……「全部やっちゃえば？」</p>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc11">41年目：並べ替えよ</span></h2>
<p>サイズ目標のみ達成。</p>
<h3><span id="toc12">サイズ目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2078" src="https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01.jpg" alt="41年目：並べ替えよ’（サイズ）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/hrs04_41_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>選択ソートと呼ばれるソートのアルゴリズムのひとつです。</p>
<p>&nbsp;</p>
<h2><span id="toc13">他のステージの解答</span></h2>
<p>ヒューマン・リソース・マシーン、私の解答でした。</p>
<p>行数の多いステージでは、画像が見にくくて申し訳ありません。</p>
<p>拡大してなんとか見ていただければと思います。</p>
<p>&nbsp;</p>
<p>他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/">【 1年目～10年目】攻略！ヒューマン・リソース・マシーン #01<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm02/">【11年目～21年目】攻略！ヒューマン・リソース・マシーン #02<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm03/">【22年目～31年目】攻略！ヒューマン・リソース・マシーン #03<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<p>&nbsp;</p>
<div class="blogcard-type bct-pickup">

<a rel="noopener" target="_self" href="https://living-maou.com/algologic/" title="【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png 160w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-500x281.png 500w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-300x169.png 300w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-768x432.png 768w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-120x68.png 120w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-320x180.png 320w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1.png 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」</div><div class="blogcard-snippet internal-blogcard-snippet">「アルゴロジック」は子どもから大人まで楽しめるプログラミング体験ゲーム。プログラミングの基本的な考え方である順次処理、くり返し処理、分岐処理を学ぶことができます。【リビングの魔王】ではアルゴロジックの遊び方やルールなどを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://living-maou.com/switch-hrm04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【22年目～31年目】攻略！ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) #03</title>
		<link>https://living-maou.com/switch-hrm03/</link>
					<comments>https://living-maou.com/switch-hrm03/#respond</comments>
		
		<dc:creator><![CDATA[メソ]]></dc:creator>
		<pubDate>Sun, 30 May 2021 07:45:33 +0000</pubDate>
				<category><![CDATA[ビジュアルプログラミング]]></category>
		<category><![CDATA[NintendoSwitch]]></category>
		<category><![CDATA[アプリ]]></category>
		<category><![CDATA[ゲーム]]></category>
		<category><![CDATA[ヒューマン・リソース・マシーン]]></category>
		<guid isPermaLink="false">https://living-maou.com/?p=2049</guid>

					<description><![CDATA[この記事では、ヒューマン・リソース・マシーンの私の解答を紹介します。 夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。 注意事項 あくまでへっぽ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2050" src="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs03-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>この記事では、<a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm00/">ヒューマン・リソース・マシーン<span class="fa fa-external-link internal-icon anchor-icon"></span></a>の私の解答を紹介します。</p>
<p>夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。</p>
<p><span style="color: #ff0000;"><b>注意事項</b></span></p>
<div class="blank-box bb-red">あくまで<span style="color: #ff0000;">へっぽこ元プログラマーの解答</span>です。←ココ大事<br />
効率化目標を達成していないステージもあります。<br />
もっとよい解き方があるかもしれないことをご承知おきください。</div>
<p>自分の解答とくらべて、<br />
参考にする（なる？）もよし、<br />
鼻で笑うもよし、<br />
違いを楽しんでいただけたら幸いです。</p>
<p>今回は22年目～31年目までです。効率化目標を達成するのが難しくなってきました。</p>
<p>他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/">【 1年目～10年目】攻略！ヒューマン・リソース・マシーン #01<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm02/">【11年目～21年目】攻略！ヒューマン・リソース・マシーン #02<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm04/">【32年目～41年目】攻略！ヒューマン・リソース・マシーン #04<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<h2><span id="toc1">22年目：フィボナッチ数列</span></h2>
<p>ダヴィンチコード以外で「フィボナッチ数列」というワードをきくことになるとは(笑)</p>
<p>ダヴィンチコード、小説も映画も面白いので見たことない方はぜひ！</p>
<h3><span id="toc2">サイズ</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2051" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01.jpg" alt="22年目：フィボナッチ数列（サイズ）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>カーペットに、</p>
<ul>
<li>2つ前の値</li>
<li>1つ前の値</li>
<li>1つ前の値＋2つ前の値</li>
</ul>
<p>を保存する場所を用意。</p>
<ol>
<li>「1つ前＋2つ前」と「入力」を比較</li>
<li>「1つ前＋2つ前」の方が大きかったら次のデータへ</li>
<li>「入力」の方が大きかったら、</li>
<li>「1つ前＋2つ前」を出力<br />
「1つ前の値」を「2つ前の値」へ<br />
「1つ前＋2つ前」を「1つ前の値」へ<br />
「1つ前の値」と「2つ前の値」を足して「1つ前＋2つ前」へ</li>
<li>1.へ戻る</li>
</ol>
<h3><span id="toc3">スピード</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2052" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02.jpg" alt="22年目：フィボナッチ数列（スピード）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_22_02-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>1、1を最初に出力するのは確定なので、余計な判定をしないで、出力するようにしました。</p>
<p>&nbsp;</p>
<h2><span id="toc4">23年目：一番小さいのは？</span></h2>
<p>サイズ目標のみクリア。</p>
<h3><span id="toc5">サイズ目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2053" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01.jpg" alt="23年目：一番小さいのは？（サイズ）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_23_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<ul>
<li>WK　 … 読み込んだ値を保存</li>
<li>Min … 現時点での最小値を保存</li>
</ul>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc6">24年目：あまりはいくつ？</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2054" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01.jpg" alt="24年目：あまりはいくつ？" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_24_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>掛け算の逆。1つ目から2つ目の値をどんどん引いていきます（Ａ－Ｂ→Ａ）</p>
<p>Ａ－Ｂがマイナスになったら、その時のＡの値があまりになります。</p>
<p>&nbsp;</p>
<h2><span id="toc7">25年目：ゼロまで足して</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2055" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01.jpg" alt="25年目：ゼロまで足して" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_25_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<ul>
<li>TOTAL … 値（CNT）を足していき、合計を求める</li>
<li>CNT … 入力された値をカウントダウンする</li>
</ul>
<p>&nbsp;</p>
<h2><span id="toc8">26年目：割り算のしかた</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2056" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01.jpg" alt="26年目：割り算のしかた" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_26_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>1つ目から2つ目の値をどんどん引いていき、引いた回数が商になります。</p>
<p>24年目のプログラムをコピーすると楽です。</p>
<p>&nbsp;</p>
<h2><span id="toc9">28年目：小から大へ</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2057" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01.jpg" alt="28年目：小から大へ" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_28_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>効率化目標をクリア出来ませんでした……</p>
<p>1つ目のデータ：A<br />
2つ目のデータ：B<br />
3つ目のデータ：C</p>
<ol>
<li>CとBを比較し、Bの方が小さい場合CとBを入れ替え</li>
<li>CとAを比較し、Aの方が小さい場合CとAを入れ替え</li>
<li>BとAを比較し、Aの方が小さい場合BとAを入れ替え</li>
<li>C、B、Aを出力。</li>
</ol>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc10">29年目：間接的な指定</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2058" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01.jpg" alt="29年目：間接的な指定" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_29_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<ul>
<li>直接指定（2行目） … その番号のカーペットの値をみる。</li>
<li>間接指定（3行目） … その番号のカーペットにある値の番号のカーペットをみる。</li>
</ul>
<p>&nbsp;</p>
<h2><span id="toc11">30年目：隠された暗号</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2059" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01.jpg" alt="30年目：隠された暗号" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_30_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>最初に、入力の数値を24番目のカーペットに入れます。</p>
<p>&nbsp;</p>
<h2><span id="toc12">31年目：文字列を逆に</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2060" src="https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01.jpg" alt="31年目：文字列を逆に" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs03_31_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>間接指定をうまく使いましょう。</p>
<p>&nbsp;</p>
<h2><span id="toc13">他のステージの解答</span></h2>
<p>行数の多いステージでは、画像が見にくくて申し訳ありません。</p>
<p>拡大してなんとか見ていただければと思います。</p>
<p>&nbsp;</p>
<p>他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/">【 1年目～10年目】攻略！ヒューマン・リソース・マシーン #01<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm02/">【11年目～21年目】攻略！ヒューマン・リソース・マシーン #02<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm04/">【32年目～41年目】攻略！ヒューマン・リソース・マシーン #04<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<p>&nbsp;</p>
<div class="blogcard-type bct-pickup">

<a rel="noopener" target="_self" href="https://living-maou.com/algologic/" title="【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png 160w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-500x281.png 500w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-300x169.png 300w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-768x432.png 768w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-120x68.png 120w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-320x180.png 320w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1.png 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」</div><div class="blogcard-snippet internal-blogcard-snippet">「アルゴロジック」は子どもから大人まで楽しめるプログラミング体験ゲーム。プログラミングの基本的な考え方である順次処理、くり返し処理、分岐処理を学ぶことができます。【リビングの魔王】ではアルゴロジックの遊び方やルールなどを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://living-maou.com/switch-hrm03/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【11年目～21年目】攻略！ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) #02</title>
		<link>https://living-maou.com/switch-hrm02/</link>
					<comments>https://living-maou.com/switch-hrm02/#respond</comments>
		
		<dc:creator><![CDATA[メソ]]></dc:creator>
		<pubDate>Mon, 24 May 2021 07:01:31 +0000</pubDate>
				<category><![CDATA[ビジュアルプログラミング]]></category>
		<category><![CDATA[NintendoSwitch]]></category>
		<category><![CDATA[アプリ]]></category>
		<category><![CDATA[ゲーム]]></category>
		<category><![CDATA[ヒューマン・リソース・マシーン]]></category>
		<guid isPermaLink="false">https://living-maou.com/?p=2024</guid>

					<description><![CDATA[この記事では、ヒューマン・リソース・マシーンの私の解答を紹介します。 夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。 注意事項 あくまでへっぽ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2025" src="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs02-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>この記事では、<a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm00/">ヒューマン・リソース・マシーン<span class="fa fa-external-link internal-icon anchor-icon"></span></a>の私の解答を紹介します。</p>
<p>夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。</p>
<p><span style="color: #ff0000;"><b>注意事項</b></span></p>
<div class="blank-box bb-red">
<ul>
<li>あくまで<span style="color: #ff0000;">へっぽこ元プログラマーの解答</span>です。←ココ大事</li>
<li>効率化目標を達成していないステージもあります。</li>
<li>もっとよい解き方があるかもしれないことをご承知おきください。</li>
</ul>
</div>
<p>自分の解答とくらべて、<br />
参考にする（なる？）もよし、<br />
鼻で笑うもよし、<br />
違いを楽しんでいただけたら幸いです。</p>
<p>今回は11年目～21年目までです。他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/">【1年目～10年目】攻略！ヒューマン・リソース・マシーン #01<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm03/">【22年目～31年目】攻略！ヒューマン・リソース・マシーン#03<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm04/">【32年目～41年目】攻略！ヒューマン・リソース・マシーン #04<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<h2><span id="toc1">11年目：引き算の結果</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2026" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01.jpg" alt="11年目：引き算の結果" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_11_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「sub」は、手元のデータからカーペット上のデータを減算します。<br />
手元のデータは、減算結果に上書きされ、カーペット上のデータは、減算前と変わらずそのまま残ります。</div>
<p>&nbsp;</p>
<h2><span id="toc2">12年目：40の作り方</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2027" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01.jpg" alt="12年目：40の作り方" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_12_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>10年目の応用。32倍＋8倍で40倍を作ります。</p>
<p>カーペットの</p>
<ul>
<li>0は入力データ</li>
<li>1は入力データの2倍の値</li>
<li>2は入力データの4倍の値</li>
<li>3は入力データの8倍の値</li>
<li>4は入力データの16倍の値</li>
</ul>
<p>を記憶しています。</p>
<p>&nbsp;</p>
<h2><span id="toc3">13年目：同じかどうか</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2028" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01.jpg" alt="13年目：同じかどうか" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_13_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>2つの値を引き算して、0なら同じ値だと判断できます。</p>
<p>「copyfrom」と「outbox」を上に持って行き、最初だけスルー（1行目のjump）させると、「jump」を通過する回数が減って、スピード目標を達成できます。</p>
<p>&nbsp;</p>
<h2><span id="toc4">14年目：大は小を兼ねる</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2029" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01.jpg" alt="14年目：大は小を兼ねる" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_14_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「jump if neg」は、手元のデータがマイナスの場合、指定の場所にJUMPします。<br />
手元のデータが0以上の場合は、次の行を実行します。</div>
<p>2つの値を引き算して、結果がマイナスか否かでどちらが大きいか判定します。</p>
<p>「add」を使い2つ目のデータを復元することで、2つ目のデータをカーペット上にコピーする1手を減らせます。</p>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc5">16年目：必ずポジティブに</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2030" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01.jpg" alt="16年目：必ずポジティブに" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_16_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>中学校で習った「負数の引き算」を思い出せるかがカギ。</p>
<p>データがマイナスの場合：1回目のsubで0を作る→1回目のsubでプラスに。</p>
<p>データがマイナスでない（0以上）の場合：そのまま右のコンベアへ。</p>
<p>&nbsp;</p>
<h2><span id="toc6">17年目：同じならゼロ</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2031" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01.jpg" alt="17年目：同じならゼロ" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_17_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>カーペットの4には0、カーペットの5には1が入っています。</p>
<p>線がぐちゃぐちゃで見づらいですが、1つ目のデータを判定した後、2つ目のデータを判定して、処理を分岐させているだけです。</p>
<ul>
<li>1つ目プラス　：2つ目プラス　 → 0</li>
<li>1つ目プラス　：2つ目マイナス → 1</li>
<li>1つ目マイナス：2つ目プラス　 → 0</li>
<li>1つ目マイナス：2つ目マイナス → 1</li>
</ul>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc7">19年目：カウントダウン</span></h2>
<div class="blank-box bb-tab bb-memo">
<ul>
<li>「bump +」は、カーペット上の数字を+1して、手持ちにもコピーする。</li>
<li>「bump -」は、カーペット上の数字を-1して、手持ちにもコピーする。</li>
</ul>
</div>
<p>サイズ目標とスピード目標、別々に達成。</p>
<h3><span id="toc8">サイズ目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2032" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01.jpg" alt="19年目：カウントダウン（サイズ目標）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>6行目の「jump if neg」でカウントアップする場合と、カウントダウンする場合で処理を分けています。</p>
<h3><span id="toc9">スピード目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2033" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02.jpg" alt="19年目：カウントダウン（スピード目標）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_19_02-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>最初にデータがゼロか判定をして、ゼロの場合はそのまま出力。</p>
<p>カウントアップ（ダウン）のループを抜ける条件をnegからzeroにして、最後の余分なbumpを通らないようにしています。</p>
<p>&nbsp;</p>
<h2><span id="toc10">20年目：掛け算のしかた</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2034" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01.jpg" alt="20年目：掛け算のしかた" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_20_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>この辺りから効率化目標達成が苦しくなってきました。サイズ目標のみ達成。</p>
<p>Aに1つ目、Bに2つ目のデータを保管。</p>
<p>AをB回Ansに足しています。</p>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc11">21年目：ゼロが区切り</span></h2>
<h3><span id="toc12">サイズ目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2035" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01.jpg" alt="21年目：ゼロが区切り（サイズ目標）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<h3><span id="toc13">スピード目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2036" src="https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02.jpg" alt="21年目：ゼロが区切り（スピード目標）" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs02_21_02-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>1件目が0だった時の処理を追加しています。</p>
<p>&nbsp;</p>
<h2><span id="toc14">他のステージの解答</span></h2>
<p>行数の多いステージの画像が見にくくて申し訳ありません。</p>
<p>拡大してなんとか見ていただければと思います。</p>
<p>他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/">【1年目～10年目】攻略！ヒューマン・リソース・マシーン #01<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm03/">【22年目～31年目】攻略！ヒューマン・リソース・マシーン #03<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm04/">【32年目～41年目】攻略！ヒューマン・リソース・マシーン #04<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<p>&nbsp;</p>
<div class="blogcard-type bct-pickup">

<a rel="noopener" target="_self" href="https://living-maou.com/algologic/" title="【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png 160w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-500x281.png 500w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-300x169.png 300w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-768x432.png 768w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-120x68.png 120w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-320x180.png 320w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1.png 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」</div><div class="blogcard-snippet internal-blogcard-snippet">「アルゴロジック」は子どもから大人まで楽しめるプログラミング体験ゲーム。プログラミングの基本的な考え方である順次処理、くり返し処理、分岐処理を学ぶことができます。【リビングの魔王】ではアルゴロジックの遊び方やルールなどを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://living-maou.com/switch-hrm02/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【1年目～10年目】攻略！ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) #01</title>
		<link>https://living-maou.com/switch-hrm01/</link>
					<comments>https://living-maou.com/switch-hrm01/#respond</comments>
		
		<dc:creator><![CDATA[メソ]]></dc:creator>
		<pubDate>Fri, 21 May 2021 07:22:31 +0000</pubDate>
				<category><![CDATA[ビジュアルプログラミング]]></category>
		<category><![CDATA[NintendoSwitch]]></category>
		<category><![CDATA[アプリ]]></category>
		<category><![CDATA[ゲーム]]></category>
		<category><![CDATA[ヒューマン・リソース・マシーン]]></category>
		<guid isPermaLink="false">https://living-maou.com/?p=2008</guid>

					<description><![CDATA[この記事では、ヒューマン・リソース・マシーンの私の解答を紹介します。 夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。 注意事項 あくまでへっぽ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2009" src="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>この記事では、<a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm00/">ヒューマン・リソース・マシーン<span class="fa fa-external-link internal-icon anchor-icon"></span></a>の私の解答を紹介します。</p>
<p>夫や他サイトさんの解答を見てみると、人によって解き方が違うのが面白かったので、私の解答も記録として残してみることにしました。</p>
<p><span style="color: #ff0000;"><b>注意事項</b></span></p>
<div class="blank-box bb-red">
<ul>
<li>あくまで<span style="color: #ff0000;">へっぽこ元プログラマーの解答</span>です。←ココ大事</li>
<li>効率化目標を達成していないステージもあります。</li>
<li>もっとよい解き方があるかもしれないことをご承知おきください。</li>
</ul>
</div>
<p>自分の解答とくらべて、<br />
参考にする（なる？）もよし、<br />
鼻で笑うもよし、<br />
違いを楽しんでいただけたら幸いです。</p>
<p>今回は1年目～10年目までです。他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm02/">【11年目～21年目】攻略！ヒューマン・リソース・マシーン #02<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm03/">【22年目～31年目】攻略！ヒューマン・リソース・マシーン #03<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm04/">【32年目～41年目】攻略！ヒューマン・リソース・マシーン #04<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<h2><span id="toc1">1年目：運び屋さん</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2010" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01.jpg" alt="ヒューマンリソースマシーン1年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_01_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>「inbox」で左側のコンベアからデータを入手して、「outbox」で右側のコンベアに持って行くだけの簡単なお仕事。</p>
<p>&nbsp;</p>
<h2><span id="toc2">2年目：忙しい運び屋さん</span></h2>
<div class="blank-box bb-tab bb-memo">「jump」で次に実行する場所を指定します。<br />
ジャンプ先を上に持って行くと、その間の命令をくり返すループになります。</div>
<p>サイズ目標とスピード目標、両方同時に達成できません。</p>
<h3><span id="toc3">サイズ目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2011" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01.jpg" alt="ヒューマンリソースマシーン2年目その1" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>これが通常。</p>
<h3><span id="toc4">スピード目標</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2012" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02.jpg" alt="ヒューマンリソースマシーン2年目その2" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_02_02-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>スピード目標のランプがつかなくて「えっ！？」ってなりませんでしたか？</p>
<p>スピード目標は、ループの回数を減らして達成（ゴリ押し）</p>
<p>これでいいの……？</p>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc5">3年目：コピーのお仕事</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2013" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01.jpg" alt="ヒューマンリソースマシーン3年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_03_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「copyfrom」でカーペット上のデータを入手します。</div>
<p>「inbox」は使わなくてＯＫ。</p>
<p>&nbsp;</p>
<h2><span id="toc6">4年目：逆にして運んで</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2014" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01.jpg" alt="ヒューマンリソースマシーン4年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_04_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「copyto」でカーペット上に手元のデータのコピーを置きます。</div>
<p>上司にきける解答例は、インプットに対してのアウトプットの結果です。</p>
<p>答えをズバリ言われてしまうのかと思って、ずっと押せないでいました。</p>
<p>&nbsp;</p>
<h2><span id="toc7">6年目：真夏の雨</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2015" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01.jpg" alt="ヒューマンリソースマシーン6年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_06_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「add」で手元のデータとカーペット上のデータを加算します。<br />
手元のデータは、加算結果に上書きされ、カーペット上のデータは、加算前と変わらずそのまま残ります。</div>
<p>&nbsp;</p>
<h2><span id="toc8">7年目：ゼロを取り除け</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2016" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01.jpg" alt="ヒューマンリソースマシーン7年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_07_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「jump if zero」は、手元のデータが0の場合、指定の場所にJUMPします。<br />
手元のデータが0以外の場合は、次の行を実行します。</div>
<p>&nbsp;</p>
<h2><span id="toc9">8年目：当社比300%</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2017" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01.jpg" alt="ヒューマンリソースマシーン8年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_08_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="blank-box bb-tab bb-memo">「add」は、手元のデータとカーペット上のデータを加算します。<br />
手元のデータは、加算結果に上書きされ、カーペット上のデータは、加算前と変わらずそのまま残ります。</div>
<p>&nbsp;</p>
<h2><span id="toc10">9年目：ゼロだけを残せ</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2018" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01.jpg" alt="ヒューマンリソースマシーン9年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_09_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<ul>
<li>データが0の場合：右側のコンベアに持って行く→次のデータを入手する。</li>
<li>データが0以外の場合：次のデータを入手する。</li>
</ul>
<p>使う「inbox」は1つだけ。</p>
<p>&nbsp;</p>
<div class="ad-area no-icon ad-shortcode ad-rectangle ad-label-visible cf" itemscope itemtype="https://schema.org/WPAdBlock">
  <div class="ad-label" itemprop="name" data-nosnippet>スポンサーリンク</div>
  <div class="ad-wrap">
    <div class="ad-responsive ad-usual"><!-- レスポンシブコード -->
<ins class="adsbygoogle"
  style="display:block"
  data-ad-client="ca-pub-9126458450711382"
  data-ad-slot="2965068638"
  data-ad-format="rectangle"
  data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
          </div>

</div>

<h2><span id="toc11">10年目：3回で8を</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2019" src="https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01.jpg" alt="ヒューマンリソースマシーン10年目" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/hrs01_10_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>2倍＋2倍で4倍。</p>
<p>4倍＋4倍で8倍。</p>
<p>&nbsp;</p>
<h2><span id="toc12">11年目以降の解答</span></h2>
<p>行数の多いステージの画像が見にくくて申し訳ありません。</p>
<p>拡大してなんとか見ていただければと思います。</p>
<p>他のステージの解答は下の記事にまとめています。</p>
<div class="blank-box bb-blue">
<ul>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm02/">【11年目～21年目】攻略！ヒューマン・リソース・マシーン #02<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm03/">【22年目～31年目】攻略！ヒューマン・リソース・マシーン #03<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
<li><a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm04/">【32年目～41年目】攻略！ヒューマン・リソース・マシーン #04<span class="fa fa-external-link internal-icon anchor-icon"></span></a></li>
</ul>
</div>
<p>&nbsp;</p>
<div class="blogcard-type bct-pickup">

<a rel="noopener" target="_self" href="https://living-maou.com/algologic/" title="【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png 160w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-500x281.png 500w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-300x169.png 300w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-768x432.png 768w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-120x68.png 120w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-320x180.png 320w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1.png 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」</div><div class="blogcard-snippet internal-blogcard-snippet">「アルゴロジック」は子どもから大人まで楽しめるプログラミング体験ゲーム。プログラミングの基本的な考え方である順次処理、くり返し処理、分岐処理を学ぶことができます。【リビングの魔王】ではアルゴロジックの遊び方やルールなどを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://living-maou.com/switch-hrm01/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Switch版】ヒューマン・リソース・マシーン感想…子どもには難しいです！</title>
		<link>https://living-maou.com/switch-hrm00/</link>
					<comments>https://living-maou.com/switch-hrm00/#respond</comments>
		
		<dc:creator><![CDATA[メソ]]></dc:creator>
		<pubDate>Mon, 17 May 2021 08:43:28 +0000</pubDate>
				<category><![CDATA[ビジュアルプログラミング]]></category>
		<category><![CDATA[NintendoSwitch]]></category>
		<category><![CDATA[アプリ]]></category>
		<category><![CDATA[ゲーム]]></category>
		<category><![CDATA[ヒューマン・リソース・マシーン]]></category>
		<guid isPermaLink="false">https://living-maou.com/?p=1997</guid>

					<description><![CDATA[小学生の子どもが遊びながらプログラミングを学べるゲームを探していて、ヒューマン・リソース・マシーンというプログラミングパズルゲームに行きついたという方はいるのではないでしょうか？ 子どものプログラミング学習に、このゲーム [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM.jpg"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1998" src="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-800x450.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_HRM-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<div class="information-box common-icon-box"><span class="fz-14px">このページにはアフィリエイトリンクが含まれています。</span></div>
<p><!-- リンクを介して商品を購入した場合、当ブログに報酬が支払われることがあります。またリンクから購入しても読者様のご負担はございません。 --></p>

<p>小学生の子どもが遊びながらプログラミングを学べるゲームを探していて、<b>ヒューマン・リソース・マシーン</b>というプログラミングパズルゲームに行きついたという方はいるのではないでしょうか？</p>
<p>子どものプログラミング学習に、このゲームをオススメしているサイトさんをいくつか見かけました。</p>
<p>確かに、<a rel="nofollow noopener" target="_blank" href="//af.moshimo.com/af/c/click?a_id=1826192&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;url=https%3A%2F%2Fwww.amazon.co.jp%2Fdp%2FB08346TPNG">ヒューマン・リソース・マシーン<span class="fa fa-external-link external-icon anchor-icon"></span></a><img loading="lazy" decoding="async" style="border: 0px;" src="//i.moshimo.com/af/i/impression?a_id=1826192&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062" alt="" width="1" height="1" />はプログラミングの勉強になる とても面白いゲームです。</p>
<p>しかし、<span class="marker-under-red">小学生が遊ぶプログラミングのゲームとしてはオススメできません。</span></p>
<p>小学生には難易度が高すぎです。ほとんどの子が挫折してしまうとではないかと。</p>
<p>この記事では、</p>
<div class="blank-box bb-blue">
<ul>
<li><a href="#kanso">元プログラマーの私とプログラミング初心者の夫がプレイしてみた感想</a></li>
<li><a href="#riyu">小学生のプログラミング学習に向かない理由</a></li>
<li><a href="#game">小学生にオススメのプログラミングゲーム</a></li>
</ul>
</div>
<p>を紹介します。</p>
<h2><span id="toc1">ヒューマン・リソース・マシーンはプログラミングパズルゲーム</span></h2>
<p><iframe loading="lazy" title="【Switch】ヒューマン・リソース・マシーン 紹介映像" width="1256" height="707" src="https://www.youtube.com/embed/QWlrIxQI0Xc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe></p>
<p style="text-align: right;"><span class="fz-14px">動画：YouTube「Flyhigh Works Official Channel」より</span></p>
<p><a rel="nofollow noopener" target="_blank" href="//af.moshimo.com/af/c/click?a_id=1826192&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;url=https%3A%2F%2Fwww.amazon.co.jp%2Fdp%2FB08346TPNG">ヒューマン・リソース・マシーン<span class="fa fa-external-link external-icon anchor-icon"></span></a><img loading="lazy" decoding="async" style="border: 0px;" src="//i.moshimo.com/af/i/impression?a_id=1826192&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062" alt="" width="1" height="1" />は、とある企業の社員となったプレイヤーが上司から出された<span class="marker-under-red">課題をプログラミングで解決していく<b>パズルゲーム</b></span>です。</p>
<p>パソコン(Steam)、スマホ・タブレット(iOS、Android)、Nintendo Switchで遊ぶことができます。</p>
<div class="micro-top micro-center">＼続編とのセットです／<br />
<script type="text/javascript">
(function(b,c,f,g,a,d,e){b.MoshimoAffiliateObject=a;
b[a]=b[a]||function(){arguments.currentScript=c.currentScript
||c.scripts[c.scripts.length-2];(b[a].q=b[a].q||[]).push(arguments)};
c.getElementById(a)||(d=c.createElement(f),d.src=g,
d.id=a,e=c.getElementsByTagName("body")[0],e.appendChild(d))})
(window,document,"script","//dn.msmstatic.com/site/cardlink/bundle.js?20210203","msmaflink");
msmaflink({"n":"ヒューマン・リソース・マシーン デラックス「初めてのぷろぐらみんぐ入門セット」","b":"フライハイワークス","t":"HAC-P-AV7RA","d":"https:\/\/m.media-amazon.com","c_p":"\/images\/I","p":["\/51oGWgqElFL._SL500_.jpg","\/41U0y-40n3L._SL500_.jpg","\/414EYKyyl+L._SL500_.jpg","\/41zfpmjSocL._SL500_.jpg"],"u":{"u":"https:\/\/www.amazon.co.jp\/dp\/B08346TPNG","t":"amazon","r_v":""},"v":"2.1","b_l":[{"id":1,"u_tx":"Amazonで見る","u_bc":"#f79256","u_url":"https:\/\/www.amazon.co.jp\/dp\/B08346TPNG","a_id":1826192,"p_id":170,"pl_id":27060,"pc_id":185,"s_n":"amazon","u_so":1},{"id":4,"u_tx":"楽天市場で見る","u_bc":"#f76956","u_url":"https:\/\/search.rakuten.co.jp\/search\/mall\/%E3%83%92%E3%83%A5%E3%83%BC%E3%83%9E%E3%83%B3%E3%83%BB%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%9E%E3%82%B7%E3%83%BC%E3%83%B3%20%E3%83%87%E3%83%A9%E3%83%83%E3%82%AF%E3%82%B9%E3%80%8C%E5%88%9D%E3%82%81%E3%81%A6%E3%81%AE%E3%81%B7%E3%82%8D%E3%81%90%E3%82%89%E3%81%BF%E3%82%93%E3%81%90%E5%85%A5%E9%96%80%E3%82%BB%E3%83%83%E3%83%88%E3%80%8D\/","a_id":1820957,"p_id":54,"pl_id":27059,"pc_id":54,"s_n":"rakuten","u_so":2},{"id":5,"u_tx":"Yahoo!ショッピングで見る","u_bc":"#66a7ff","u_url":"https:\/\/shopping.yahoo.co.jp\/search?first=1\u0026p=%E3%83%92%E3%83%A5%E3%83%BC%E3%83%9E%E3%83%B3%E3%83%BB%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%9E%E3%82%B7%E3%83%BC%E3%83%B3%20%E3%83%87%E3%83%A9%E3%83%83%E3%82%AF%E3%82%B9%E3%80%8C%E5%88%9D%E3%82%81%E3%81%A6%E3%81%AE%E3%81%B7%E3%82%8D%E3%81%90%E3%82%89%E3%81%BF%E3%82%93%E3%81%90%E5%85%A5%E9%96%80%E3%82%BB%E3%83%83%E3%83%88%E3%80%8D","a_id":1832853,"p_id":1225,"pl_id":27061,"pc_id":1925,"s_n":"yahoo","u_so":3}],"eid":"tQhJN","s":"s"});
</script></div>
<div id="msmaflink-tQhJN">リンク</div>
<p><!-- MoshimoAffiliateEasyLink END --></p>
<div id="appreach-box" style="text-align: left;">
<p><img decoding="async" id="appreach-image" style="float: left; margin: 10px; width: 25%; max-width: 120px; border-radius: 10%;" src="https://play-lh.googleusercontent.com/hCf4JDMNQBhfRNLHrDbXVghlyV2dBfTpt-PmZe-_-UXtZ3o9VFcp8zLtG9AUGMPArFk=s128" alt="Human Resource Machine (ヒューマン・リソース・マシン)" /></p>
<div class="appreach-info" style="margin: 10px;">
<div id="appreach-appname">Human Resource Machine (ヒューマン・リソース・マシン)</div>
<div id="appreach-developer" style="font-size: 80%; display: inline-block;">開発元:<span id="appreach-developerurl">Experimental Gameplay Group</span></div>
<div class="appreach-powered" style="font-size: 80%; display: inline-block;">posted with<a rel="nofollow noopener" target="_blank" title="アプリーチ" href="https://mama-hack.com/app-reach/">アプリーチ<span class="fa fa-external-link external-icon anchor-icon"></span></a></div>
<div class="appreach-links" style="float: left;">
<div id="appreach-itunes-link" style="display: inline-block;"><a rel="nofollow noopener" target="_blank" id="appreach-itunes" href="https://apps.apple.com/jp/app/human-resource-machine/id1005098334?uo=4"><img decoding="async" style="height: 40px; width: 135px;" src="https://nabettu.github.io/appreach/img/itune_ja.svg" /></a></div>
<div id="appreach-gplay-link" style="display: inline-block;"><a rel="nofollow noopener" target="_blank" id="appreach-gplay" href="https://play.google.com/store/apps/details?id=com.tomorrowcorporation.humanresourcemachine"><img decoding="async" style="height: 40px; width: 134.5px;" src="https://nabettu.github.io/appreach/img/gplay_ja.png" /></a></div>
</div>
</div>
<div class="appreach-footer" style="margin-bottom: 10px; clear: left;"></div>
</div>
<div></div>
<div class="blank-box bb-tab bb-memo bb-yellow">Nintendo Switchの場合は、携帯モードでのプレイがオススメ。<br />
ジョイコンでの操作は、腕が疲れてプルプルしてきます。</div>
<p>&nbsp;</p>
<h3><span id="toc2">アセンブリ（アセンブラ）言語のような命令</span></h3>
<p>ヒューマン・リソース・マシーンでは、<b>アセンブリ言語</b>のような命令を組み合わせてプログラミングします。</p>
<p><span style="color: #ff0000;"><b>アセンブリ言語</b></span>とは、プログラミング言語の1つ。</p>
<p>JavaScriptやPythonなど現在使われている多くの言語は、人間が読んですぐ理解できる<span class="marker-under-red">人間寄りのプログラミング言語（<b>高級言語</b>）</span>です。</p>
<p>対してアセンブリ言語は、コンピューターが直接理解できる機械語を人間に理解しやすい文字列や記号で記述した<span class="marker-under-red">コンピュータ寄りのプログラミング言語（<b>低級言語</b>）</span>です。</p>
<p>&nbsp;</p>
<h3><span id="toc3">プログラミングの概念が学べる</span></h3>
<p><b>くり返し</b>や<b>分岐</b>といった基本的な考え方や並べ替えのアルゴリズム、配列やリストがメモリ上でどう確保されるかなど<span class="marker-under-red">プログラミングの概念をゲームで遊びながら学ぶ</span>ことができます。</p>
<p>&nbsp;</p>
<h3><span id="toc4">トレースやデバッグがしやすい</span></h3>
<p>実行してエラーになった時にすぐ上司が叱ってくれるので、<span class="marker-under-red">どこから間違っているのか分かりやすい</span>です。</p>
<p>また、１行ずつ実行したり１行戻ったりすることができるので、トレースやデバッグがしやすいのがよかったです。</p>
<p>&nbsp;</p>
<div class="blank-box bb-tab bb-memo bb-red">
<p><span style="color: #ff0000;"><b>トレース</b></span>は、命令を順番にたどって、状態を確認すること。<br />
<span style="color: #ff0000;"><b>デバッグ</b></span>は、プログラムの中の間違いを見つけて、修正することです。</p>
</div>
<p>&nbsp;</p>
<h2 id="kanso"><span id="toc5">感想：難しい…でも面白い！</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1999" src="https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_01-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>大人でも難しい難易度で、やりごたえがありました！</p>
<p>クリアした時の達成感がすごくあるので、気が付くと1時間くらい平気で溶けてます。</p>
<p>プログラミングの経験があった方が有利なのは確かですが、<span class="marker-under-red">プログラミングの知識がなくてもパズルを解く感覚でゲームを進められます。</span></p>
<p>プログラミング初心者の夫も「難しい、難しい」と言いながら夢中でプレイ。</p>
<p>一番難しい素因数分解のステージ以外は自力でクリアしました。</p>
<p>クリアした時の感覚は、激辛ラーメンを完食した時や、マラソンを完走した時の感覚に似ているかも？（私はどちらも苦手です…）</p>
<p>&nbsp;</p>
<p>また、私と夫で全然違うプログラムになっていたので、見くらべるのも面白かったです。</p>
<p>下の記事で私の解答を晒しています。</p>
<p>どんな問題があるのか興味のある方、すでに遊んでいて私の解答を見たいという奇特な方は見ていただけると嬉しいです。</p>
<div class="blogcard-type bct-related">

<a rel="noopener" target="_self" href="https://living-maou.com/switch-hrm01/" title="【1年目～10年目】攻略！ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) #01" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-160x90.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01-320x180.jpg 320w, https://living-maou.com/wp-content/uploads/2021/05/eyecatch_hrs01.jpg 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【1年目～10年目】攻略！ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) #01</div><div class="blogcard-snippet internal-blogcard-snippet">ヒューマン・リソース・マシーン(HUMAN RESOURCE MACHINE) の解答例を紹介します。人によって解き方が違うのが面白かったので、私の解答も残してみることにしました。今回は1年目～10年目まで。攻略の参考になれば幸いです。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
<p>&nbsp;</p>
<h2 id="riyu"><span id="toc6">小学生には難しい3つの理由</span></h2>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2000" src="https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02.jpg" alt="" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02.jpg 800w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/05/HRM_01_02-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>理由は3つあります。</p>
<div class="blank-box bb-blue">
<ul>
<li><a href="#riyu1">シンプルに難しい</a></li>
<li><a href="#riyu2">中学校の数学で習う概念を知らないと解けない</a></li>
<li><a href="#riyu3">コードがスパゲッティになりがち</a></li>
</ul>
</div>
<p>&nbsp;</p>
<h3 id="riyu1"><span id="toc7">シンプルに難しい</span></h3>
<p>私はアセンブリ言語の経験がほんの少しだけありましたが、それでも難しく感じました。</p>
<p>2ちゃんねるの開設者であるひろゆきさんも、以下のようにレビューしています。</p>
<blockquote><p>　『ヒューマン・リソース・マシーン』で中盤ぐらいから先に進めなくても、焦る必要はまったくなかったりします。というのも、購入者のレビューを見てみるとわかりますけど、現役のプログラマーでもクリアできていない人が結構いるんですよね。</p>
<p>（中略）</p>
<p>ってことで、中盤にいけるだけでプログラマーとして十分に食っていけますのでご安心を。ちなみにおいらはまだクリアしていません……。</p></blockquote>
<p><span class="fz-12px">電ファミニコゲーマー「<a rel="noopener" target="_blank" href="https://news.denfaminicogamer.jp/kikakuthetower/170815">「自分には才能がない」ひろゆきが語る幼少期の“挫折”。現役プログラマでもクリア困難？ 『ヒューマン・リソース・マシーン』をレビュー【ひろゆき・タダゲーレビュー】<span class="fa fa-external-link external-icon anchor-icon"></span></a>」より</span></p>
<p>特に各ステージに設けられている効率化目標を達成するのが鬼のように難しかったです。</p>
<p>20ステージ目を過ぎたあたりから効率化目標は諦めて、ひとまずクリアを目指すようになりました。</p>
<p>&nbsp;</p>
<h3 id="riyu2"><span id="toc8">中学校の数学で習う概念を知らないと解けない</span></h3>
<p>「<b>負数の計算</b>」や「<b>素因数分解</b>」のような<span class="marker-under-red">中学校の数学で習う概念を知らないと解けない</span>ステージがあります。</p>
<p>素数は小5で習うので「素因数分解」の概念を理解することはできるかもしれません。</p>
<p>しかし、「素因数分解」のステージは、一番難しいステージ。</p>
<p>素因数分解を知っている大人でもクリアは難しいです。（夫はギブアップしました）</p>
<p>また、あるステージではノーヒントから「負数の引き算（マイナスを引くとプラス）」の概念を思い出さないと解けません。</p>
<p>そもそも負数の計算の仕方を知らない小学生には無理ゲーだと思います。</p>
<p>&nbsp;</p>
<h3 id="riyu3"><span id="toc9">コードがスパゲッティになりがち</span></h3>
<p>ヒューマン・リソース・マシーンでは、ループや分岐を「jump」という命令をうまく使って作ります。</p>
<p>次に実行する場所を好きな場所に指定できるので、複雑な処理をするほど矢じるしがあちこちに飛び交ってしまい、<span class="marker-under-red">プログラムが読みにくくなってしまいます。</span></p>
<p>普通に解いていても読みにくい…</p>
<p>コードを書きなれていない人になると、なおさらです。</p>
<p>&nbsp;</p>
<div class="blank-box bb-tab bb-memo bb-red"><span style="color: #ff0000;"><b>スパゲッティコード</b></span>とは、プログラムのソースコードが作った人以外理解できない状態のこと。スパゲッティのように命令が絡み合っていることから、そう呼ばれています。</div>
<p>&nbsp;</p>
<h2 id="game"><span id="toc10">小学生にオススメのプログラミングゲーム</span></h2>
<p>小学生のお子さんも気軽に楽しめるプログラミングゲームを4つ紹介します。</p>
<p>プログラミング経験のない保護者の方でも、お子さんと一緒に楽しく学べますよ。</p>
<div class="blank-box bb-blue">
<ul>
<li><a href="#glicode">グリコ―ド</a></li>
<li><a href="#navitsuki">ナビつき！ つくってわかる はじめてゲームプログラミング</a></li>
<li><a href="#algo">アルゴロジック</a></li>
<li><a href="#autonauts">オートノーツ</a></li>
</ul>
</div>
<p>&nbsp;</p>
<h3 id="glicode"><span id="toc11">グリコ―ド（難易度：★☆☆）</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/04/glicode04.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1890" src="https://living-maou.com/wp-content/uploads/2021/04/glicode04.jpg" alt="グリコ―ド　プレイをおす" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/04/glicode04.jpg 800w, https://living-maou.com/wp-content/uploads/2021/04/glicode04-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/04/glicode04-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/04/glicode04-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/04/glicode04-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/04/glicode04-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/04/glicode04-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p><a rel="noopener" target="_self" href="https://living-maou.com/glicode/">グリコ―ド<span class="fa fa-external-link internal-icon anchor-icon"></span></a>は、お菓子メーカーのグリコが開発した子ども向けのプログラミング学習アプリです。</p>
<p>ポッキーをルールに従ってならべ、カメラで撮ってプログラミング。</p>
<p>オリジナルキャラクターのハグハグを泣いている子どものところまでプログラミングでつれていき、ハグで笑顔にします。</p>
<div class="blogcard-type bct-detail">

<a rel="noopener" target="_self" href="https://living-maou.com/glicode/" title="【無料】ポッキーでプログラミングを学べるアプリ「グリコ―ド(GLICODE)」" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-160x90.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02-320x180.jpg 320w, https://living-maou.com/wp-content/uploads/2021/04/eyecatch_glicode02.jpg 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【無料】ポッキーでプログラミングを学べるアプリ「グリコ―ド(GLICODE)」</div><div class="blogcard-snippet internal-blogcard-snippet">グリコ―ド（GLICODE）はお菓子メーカーのグリコが開発した子ども向けのプログラミング学習アプリ。ポッキーを使って誰でも楽しくプログラミングを学べます。【リビングの魔王】ではグリコ―ドの遊び方や考え方のポイントを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
<p>&nbsp;</p>
<h3 id="navitsuki"><span id="toc12">ナビつき！ つくってわかる はじめてゲームプログラミング（難易度：★★☆）</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2144" src="https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03.jpg" alt="ナビつきレッスン　プログラミング画面" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03.jpg 800w, https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/switch_hajipro03-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p><a rel="noopener" target="_self" href="https://living-maou.com/hajipro-review/">ナビつき! つくってわかる はじめてゲームプログラミング<span class="fa fa-external-link internal-icon anchor-icon"></span></a> は、任天堂の開発室から生まれたプログラミングソフトです。</p>
<p>Nintendo Switchの中に暮らす不思議な生き物ノードンを組み合わせて、ゲームづくりを体験することができます。</p>
<div class="blogcard-type bct-detail">

<a rel="noopener" target="_self" href="https://living-maou.com/hajipro-review/" title="【Switch】小学生でもできる？カードは必要？「ナビつき！つくってわかるはじめてゲームプログラミング」レビュー" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-160x90.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro-320x180.jpg 320w, https://living-maou.com/wp-content/uploads/2021/06/eyecatch_switch_hajipro.jpg 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【Switch】小学生でもできる？カードは必要？「ナビつき！つくってわかるはじめてゲームプログラミング」レビュー</div><div class="blogcard-snippet internal-blogcard-snippet">この記事では、Nintendo Switch用ソフト「ナビつき！つくってわかるはじめてゲームプログラミング」について紹介します。「小学生にもできるの？」「カードつきの方を買った方がいい？」と気になっている方の参考になればと嬉しいです。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
<p>&nbsp;</p>
<h3 id="algo"><span id="toc13">アルゴロジック（難易度：★★★）</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2021/03/algoLogic01.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1794" src="https://living-maou.com/wp-content/uploads/2021/03/algoLogic01.png" alt="アルゴロジック" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2021/03/algoLogic01.png 800w, https://living-maou.com/wp-content/uploads/2021/03/algoLogic01-500x281.png 500w, https://living-maou.com/wp-content/uploads/2021/03/algoLogic01-300x169.png 300w, https://living-maou.com/wp-content/uploads/2021/03/algoLogic01-768x432.png 768w, https://living-maou.com/wp-content/uploads/2021/03/algoLogic01-120x68.png 120w, https://living-maou.com/wp-content/uploads/2021/03/algoLogic01-160x90.png 160w, https://living-maou.com/wp-content/uploads/2021/03/algoLogic01-320x180.png 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p><a rel="noopener" target="_self" href="https://living-maou.com/algologic/">アルゴロジック<span class="fa fa-external-link internal-icon anchor-icon"></span></a>は、プログラミングを体験できる課題解決型ゲームです。</p>
<p>コマンドブロックを組み合わせてロボットに指示を出し、課題（全部のハタを取る、線をなぞる）を解決していきます。</p>
<div class="blogcard-type bct-detail">

<a rel="noopener" target="_self" href="https://living-maou.com/algologic/" title="【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-160x90.png 160w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-500x281.png 500w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-300x169.png 300w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-768x432.png 768w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-120x68.png 120w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1-320x180.png 320w, https://living-maou.com/wp-content/uploads/2021/03/eyecatch_algoLogic1.png 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【無料】ゲーム感覚でプログラミングを体験できる「アルゴロジック」</div><div class="blogcard-snippet internal-blogcard-snippet">「アルゴロジック」は子どもから大人まで楽しめるプログラミング体験ゲーム。プログラミングの基本的な考え方である順次処理、くり返し処理、分岐処理を学ぶことができます。【リビングの魔王】ではアルゴロジックの遊び方やルールなどを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
<p>&nbsp;</p>
<h3 id="autonauts"><span id="toc14">オートノーツ（難易度：★★★）</span></h3>
<p><a rel="noopener" target="_self" href="https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-5198" src="https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17.jpg" alt="オートノーツ 構造物を作るエリアを作る" width="800" height="450" srcset="https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17.jpg 800w, https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2023/01/autonauts-operate-17-320x180.jpg 320w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p><a rel="noopener" target="_self" href="https://living-maou.com/autonauts-review/">オートノーツ(Autonauts)<span class="fa fa-external-link internal-icon anchor-icon"></span></a>は、ロボットを使って未開の惑星を開拓していくシミュレーションゲーム。</p>
<p>ボットと呼ばれるロボットを組み立てて、プログラミング。探さく、ばっ採、農業、料理、研究、建設、育成……あらゆる作業を自動化し、コミュニティの建設と発展を目指します。</p>
<div class="blogcard-type bct-detail">

<a rel="noopener" target="_self" href="https://living-maou.com/autonauts-review/" title="【オートノーツ(Autonauts)レビュー】プログラミングで惑星を開拓するゲーム（Switch版）" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-160x90.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01-320x180.jpg 320w, https://living-maou.com/wp-content/uploads/2022/12/autonauts-eyecatch01.jpg 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【オートノーツ(Autonauts)レビュー】プログラミングで惑星を開拓するゲーム（Switch版）</div><div class="blogcard-snippet internal-blogcard-snippet">プログラミング的思考を養うのにおすすめなゲーム『オートノーツ(Autonauts)』を紹介します。ロボットをプログラミングして惑星を開拓。Scratchのようなブロックを組み合わせてプログラミングするので、子どもから大人まで楽しめます。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
<p>&nbsp;</p>
<h2><span id="toc15">まとめ</span></h2>
<p><a rel="nofollow noopener" target="_blank" href="//af.moshimo.com/af/c/click?a_id=1826192&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;url=https%3A%2F%2Fwww.amazon.co.jp%2Fdp%2FB08346TPNG">ヒューマン・リソース・マシーン デラックス<span class="fa fa-external-link external-icon anchor-icon"></span></a><img loading="lazy" decoding="async" style="border: 0px;" src="//i.moshimo.com/af/i/impression?a_id=1826192&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062" alt="" width="1" height="1" />は、子どもには難しいゲームです。</p>
<p>子どものために既に買ってしまった！という方は、お子さんが中学生か高校生になるまで寝かせておくか、お父さん・お母さんで挑戦してみてください。</p>
<p>かなりの脳トレになりますよ！</p>
<p>&nbsp;</p>
<div class="micro-top micro-center">＼続編とのセットです／<br />
<script type="text/javascript">
(function(b,c,f,g,a,d,e){b.MoshimoAffiliateObject=a;
b[a]=b[a]||function(){arguments.currentScript=c.currentScript
||c.scripts[c.scripts.length-2];(b[a].q=b[a].q||[]).push(arguments)};
c.getElementById(a)||(d=c.createElement(f),d.src=g,
d.id=a,e=c.getElementsByTagName("body")[0],e.appendChild(d))})
(window,document,"script","//dn.msmstatic.com/site/cardlink/bundle.js?20210203","msmaflink");
msmaflink({"n":"ヒューマン・リソース・マシーン デラックス「初めてのぷろぐらみんぐ入門セット」","b":"フライハイワークス","t":"HAC-P-AV7RA","d":"https:\/\/m.media-amazon.com","c_p":"\/images\/I","p":["\/51oGWgqElFL._SL500_.jpg","\/41U0y-40n3L._SL500_.jpg","\/414EYKyyl+L._SL500_.jpg","\/41zfpmjSocL._SL500_.jpg"],"u":{"u":"https:\/\/www.amazon.co.jp\/dp\/B08346TPNG","t":"amazon","r_v":""},"v":"2.1","b_l":[{"id":1,"u_tx":"Amazonで見る","u_bc":"#f79256","u_url":"https:\/\/www.amazon.co.jp\/dp\/B08346TPNG","a_id":1826192,"p_id":170,"pl_id":27060,"pc_id":185,"s_n":"amazon","u_so":1},{"id":4,"u_tx":"楽天市場で見る","u_bc":"#f76956","u_url":"https:\/\/search.rakuten.co.jp\/search\/mall\/%E3%83%92%E3%83%A5%E3%83%BC%E3%83%9E%E3%83%B3%E3%83%BB%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%9E%E3%82%B7%E3%83%BC%E3%83%B3%20%E3%83%87%E3%83%A9%E3%83%83%E3%82%AF%E3%82%B9%E3%80%8C%E5%88%9D%E3%82%81%E3%81%A6%E3%81%AE%E3%81%B7%E3%82%8D%E3%81%90%E3%82%89%E3%81%BF%E3%82%93%E3%81%90%E5%85%A5%E9%96%80%E3%82%BB%E3%83%83%E3%83%88%E3%80%8D\/","a_id":1820957,"p_id":54,"pl_id":27059,"pc_id":54,"s_n":"rakuten","u_so":2},{"id":5,"u_tx":"Yahoo!ショッピングで見る","u_bc":"#66a7ff","u_url":"https:\/\/shopping.yahoo.co.jp\/search?first=1\u0026p=%E3%83%92%E3%83%A5%E3%83%BC%E3%83%9E%E3%83%B3%E3%83%BB%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%9E%E3%82%B7%E3%83%BC%E3%83%B3%20%E3%83%87%E3%83%A9%E3%83%83%E3%82%AF%E3%82%B9%E3%80%8C%E5%88%9D%E3%82%81%E3%81%A6%E3%81%AE%E3%81%B7%E3%82%8D%E3%81%90%E3%82%89%E3%81%BF%E3%82%93%E3%81%90%E5%85%A5%E9%96%80%E3%82%BB%E3%83%83%E3%83%88%E3%80%8D","a_id":1832853,"p_id":1225,"pl_id":27061,"pc_id":1925,"s_n":"yahoo","u_so":3}],"eid":"tQhJN","s":"s"});
</script></div>
<div id="msmaflink-tQhJN">リンク</div>
<p><!-- MoshimoAffiliateEasyLink END --></p>
<p>&nbsp;</p>
<div class="blogcard-type bct-related">

<a rel="noopener" target="_self" href="https://living-maou.com/programming-game/" title="【全て無料】遊びながらプログラミング的思考を育める子ども向けゲームアプリ3選" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-160x90.jpg" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-160x90.jpg 160w, https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-500x281.jpg 500w, https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-300x169.jpg 300w, https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-768x432.jpg 768w, https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-120x68.jpg 120w, https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet-320x180.jpg 320w, https://living-maou.com/wp-content/uploads/2021/12/eyecatch_tablet.jpg 800w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">【全て無料】遊びながらプログラミング的思考を育める子ども向けゲームアプリ3選</div><div class="blogcard-snippet internal-blogcard-snippet">子どもにプログラミングに触れさせたいけれど何から始めたらよいか分からないと悩みますよね？まずはとっつきやすいゲームから始めてみてはいかがでしょうか。【リビングの魔王】では初心者のお子さんにおすすめのプログラミングゲームアプリを紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://living-maou.com" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">living-maou.com</div></div></div></div></a>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://living-maou.com/switch-hrm00/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
