<?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>スキルチェック見本問題セット - IQパズルステップ</title>
	<atom:link href="https://chokomon.com/category/paiza/31-skillcheck_sample/feed/" rel="self" type="application/rss+xml" />
	<link>https://chokomon.com</link>
	<description>ちょこっと頭を良くするIQパズル問題集</description>
	<lastBuildDate>Sun, 21 Aug 2022 20:53:00 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://chokomon.com/wp-content/uploads/2022/02/cropped-icon512-32x32.png</url>
	<title>スキルチェック見本問題セット - IQパズルステップ</title>
	<link>https://chokomon.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【スキルチェック見本問題セット】Fizz Buzz (paizaランク C)-解答例-PHP編</title>
		<link>https://chokomon.com/31-skillcheck_sample-01-05-00592/</link>
					<comments>https://chokomon.com/31-skillcheck_sample-01-05-00592/#respond</comments>
		
		<dc:creator><![CDATA[東鳥子]]></dc:creator>
		<pubDate>Sun, 21 Aug 2022 20:53:00 +0000</pubDate>
				<category><![CDATA[paiza-問題集]]></category>
		<category><![CDATA[スキルチェック見本問題セット]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ランクC]]></category>
		<category><![CDATA[難易度-1000]]></category>
		<guid isPermaLink="false">https://chokomon.com/?p=6529</guid>

					<description><![CDATA[【スキルチェック見本問題セット】> Fizz Buzz (paizaランク C 相当) [難易度: 1029 ±5] ※リンク先へ移動するためには[paiza]へのログインが必要です。 解答例]]></description>
										<content:encoded><![CDATA[
<p>【<a href="https://chokomon.com/paiza_mondai/paiza_set/31-skillcheck_sample/">スキルチェック見本問題セット</a>】> <a href="https://paiza.jp/works/mondai/skillcheck_sample/fizz-buzz" target="_blank" rel="noreferrer noopener">Fizz Buzz (paizaランク C 相当)</a> [難易度: <strong>1029 ±5</strong>]



<p>※リンク先へ移動するためには[<a href="https://paiza.jp/works" target="_blank" rel="noreferrer noopener">paiza</a>]へのログインが必要です。</p>



<figure class="wp-block-image aligncenter size-full"><img fetchpriority="high" decoding="async" width="660" height="300" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-05-01.png" alt="" class="wp-image-6530"/></figure>



<div class="wp-block-dvaux-frame sc_frame_wrap inline"><div class="sc_frame_title inline" style="background-color:#ccc">問題文</div><div class="sc_frame" style="background-color:#fff;border-color:#ccc">
<p>整数 N が入力として与えられます。</p>



<p>1からNまでの整数を1から順に表示してください。</p>



<p>ただし、表示しようとしている数値が、</p>



<p>・3の倍数かつ5の倍数のときには、"Fizz Buzz"<br>・3の倍数のときには、"Fizz"<br>・5の倍数のときには、"Buzz"</p>



<p>を数値の代わりに表示してください。</p>



<p></p>



<p><strong>入力値（例）</strong><br>5</p>



<p><strong>出力値（例）</strong><br>1<br>2<br>Fizz<br>4<br>Buzz</p>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">解答例</h2>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php
    $n = trim(fgets(STDIN));
    
    for ($i = 1; $i &lt;= $n; $i++) {
        if ($i % 15 == 0) {
            echo "Fizz Buzz". "\n";
            
        } elseif ($i % 3 == 0) {
            echo "Fizz". "\n";
            
        } else if ($i % 5 == 0) {
            echo "Buzz". "\n";
            
        } else {
            echo $i. "\n";
            
        }
    }
?&gt;</pre></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="660" height="240" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-05-02.png" alt="" class="wp-image-6531"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://chokomon.com/31-skillcheck_sample-01-05-00592/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【スキルチェック見本問題セット】文字の一致 (paizaランク D)-解答例-PHP編</title>
		<link>https://chokomon.com/31-skillcheck_sample-01-04-00591/</link>
					<comments>https://chokomon.com/31-skillcheck_sample-01-04-00591/#respond</comments>
		
		<dc:creator><![CDATA[東鳥子]]></dc:creator>
		<pubDate>Sun, 21 Aug 2022 19:19:52 +0000</pubDate>
				<category><![CDATA[paiza-問題集]]></category>
		<category><![CDATA[スキルチェック見本問題セット]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ランクD]]></category>
		<category><![CDATA[難易度-900]]></category>
		<guid isPermaLink="false">https://chokomon.com/?p=6522</guid>

					<description><![CDATA[【スキルチェック見本問題セット】> 文字の一致 (paizaランク D 相当) [難易度: 934 ±5] ※リンク先へ移動するためには[paiza]へのログインが必要です。 解答例]]></description>
										<content:encoded><![CDATA[
<p>【<a href="https://chokomon.com/paiza_mondai/paiza_set/31-skillcheck_sample/">スキルチェック見本問題セット</a>】> <a href="https://paiza.jp/works/mondai/skillcheck_sample/diff_str" target="_blank" rel="noreferrer noopener">文字の一致 (paizaランク D 相当)</a> [難易度: <strong>934 ±5</strong>]



<p>※リンク先へ移動するためには[<a href="https://paiza.jp/works" target="_blank" rel="noreferrer noopener">paiza</a>]へのログインが必要です。</p>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="660" height="300" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-04-01.png" alt="" class="wp-image-6523"/></figure>



<div class="wp-block-dvaux-frame sc_frame_wrap inline"><div class="sc_frame_title inline" style="background-color:#ccc">問題文</div><div class="sc_frame" style="background-color:#fff;border-color:#ccc">
<p>2 つの文字列 a, b が入力されます。文字列が一致していれば "OK" 、異なっていれば "NG" と出力してください。</p>



<p></p>



<p><strong>入力値（例）</strong><br>paiza<br>paiza</p>



<p><strong>出力値（例）</strong><br>OK</p>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">解答例</h2>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php
    $a = trim(fgets(STDIN));
    $b = trim(fgets(STDIN));
    
    echo ($a == $b) ? "OK" : "NG";
?&gt;</pre></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="160" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-04-02.png" alt="" class="wp-image-6524"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://chokomon.com/31-skillcheck_sample-01-04-00591/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【スキルチェック見本問題セット】一番小さい値 (paizaランク D)-解答例-PHP編</title>
		<link>https://chokomon.com/31-skillcheck_sample-01-03-00590/</link>
					<comments>https://chokomon.com/31-skillcheck_sample-01-03-00590/#respond</comments>
		
		<dc:creator><![CDATA[東鳥子]]></dc:creator>
		<pubDate>Sun, 21 Aug 2022 19:08:01 +0000</pubDate>
				<category><![CDATA[paiza-問題集]]></category>
		<category><![CDATA[スキルチェック見本問題セット]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ランクD]]></category>
		<category><![CDATA[難易度-1000]]></category>
		<guid isPermaLink="false">https://chokomon.com/?p=6517</guid>

					<description><![CDATA[【スキルチェック見本問題セット】> 一番小さい値 (paizaランク D 相当) [難易度: 1104 ±4] ※リンク先へ移動するためには[paiza]へのログインが必要です。 解答例]]></description>
										<content:encoded><![CDATA[
<p>【<a href="https://chokomon.com/paiza_mondai/paiza_set/31-skillcheck_sample/">スキルチェック見本問題セット</a>】> <a href="https://paiza.jp/works/mondai/skillcheck_sample/min_num" target="_blank" rel="noreferrer noopener">一番小さい値 (paizaランク D 相当)</a> [難易度: <strong>1104 ±4</strong>]



<p>※リンク先へ移動するためには[<a href="https://paiza.jp/works" target="_blank" rel="noreferrer noopener">paiza</a>]へのログインが必要です。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="300" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-03-01.png" alt="" class="wp-image-6518"/></figure>



<div class="wp-block-dvaux-frame sc_frame_wrap inline"><div class="sc_frame_title inline" style="background-color:#ccc">問題文</div><div class="sc_frame" style="background-color:#fff;border-color:#ccc">
<p>5 つの正の整数が入力されるので、最も小さい数字を出力して下さい。</p>



<p></p>



<p><strong>入力値（例）</strong><br>10<br>12<br>4<br>8<br>46</p>



<p><strong>出力値（例）</strong><br>4</p>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">解答例</h2>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php
    while($input = fgets(STDIN)){
        $num[]= trim($input);
    }
    echo min($num);
?&gt;</pre></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="160" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-03-02.png" alt="" class="wp-image-6519"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://chokomon.com/31-skillcheck_sample-01-03-00590/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【スキルチェック見本問題セット】足し算 (paizaランク D)-解答例-PHP編</title>
		<link>https://chokomon.com/31-skillcheck_sample-01-02-00589/</link>
					<comments>https://chokomon.com/31-skillcheck_sample-01-02-00589/#respond</comments>
		
		<dc:creator><![CDATA[東鳥子]]></dc:creator>
		<pubDate>Sun, 21 Aug 2022 18:56:53 +0000</pubDate>
				<category><![CDATA[paiza-問題集]]></category>
		<category><![CDATA[スキルチェック見本問題セット]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ランクD]]></category>
		<category><![CDATA[難易度-1000]]></category>
		<guid isPermaLink="false">https://chokomon.com/?p=6512</guid>

					<description><![CDATA[【スキルチェック見本問題セット】> 足し算 (paizaランク D 相当) [難易度: 1076 ±4] ※リンク先へ移動するためには[paiza]へのログインが必要です。 解答例]]></description>
										<content:encoded><![CDATA[
<p>【<a href="https://chokomon.com/paiza_mondai/paiza_set/31-skillcheck_sample/">スキルチェック見本問題セット</a>】> <a href="https://paiza.jp/works/mondai/skillcheck_sample/addition" target="_blank" rel="noreferrer noopener">足し算 (paizaランク D 相当)</a> [難易度: <strong>1076 ±4</strong>]



<p>※リンク先へ移動するためには[<a href="https://paiza.jp/works" target="_blank" rel="noreferrer noopener">paiza</a>]へのログインが必要です。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="300" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-02-01.png" alt="" class="wp-image-6513"/></figure>



<div class="wp-block-dvaux-frame sc_frame_wrap inline"><div class="sc_frame_title inline" style="background-color:#ccc">問題文</div><div class="sc_frame" style="background-color:#fff;border-color:#ccc">
<p>２つの正の整数 a, b が半角スペース区切りで入力されるので a と b を足した数を出力してください。</p>



<p>※「掛け算」の問題では入力が改行区切りで与えられましたが、今回は半角スペース区切りで与えられます。</p>



<p></p>



<p><strong>入力値（例）</strong><br>1 1</p>



<p><strong>出力値（例）</strong><br>2</p>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">解答例</h2>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php
    list($a, $b) = explode(" ", trim(fgets(STDIN)));
    echo ($a+$b);
?&gt;</pre></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="160" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-02-02.png" alt="" class="wp-image-6514"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://chokomon.com/31-skillcheck_sample-01-02-00589/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【スキルチェック見本問題セット】掛け算 (paizaランク D)-解答例-PHP編</title>
		<link>https://chokomon.com/31-skillcheck_sample-01-01-00588/</link>
					<comments>https://chokomon.com/31-skillcheck_sample-01-01-00588/#respond</comments>
		
		<dc:creator><![CDATA[東鳥子]]></dc:creator>
		<pubDate>Sun, 21 Aug 2022 07:15:27 +0000</pubDate>
				<category><![CDATA[paiza-問題集]]></category>
		<category><![CDATA[スキルチェック見本問題セット]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ランクD]]></category>
		<category><![CDATA[難易度-1000]]></category>
		<guid isPermaLink="false">https://chokomon.com/?p=6503</guid>

					<description><![CDATA[【スキルチェック見本問題セット】> 掛け算 (paizaランク D 相当) [難易度: 1059 ±3] ※リンク先へ移動するためには[paiza]へのログインが必要です。 解答例]]></description>
										<content:encoded><![CDATA[
<p>【<a href="https://chokomon.com/paiza_mondai/paiza_set/31-skillcheck_sample/">スキルチェック見本問題セット</a>】> <a href="https://paiza.jp/works/mondai/skillcheck_sample/multiplication" target="_blank" rel="noreferrer noopener">掛け算 (paizaランク D 相当)</a> [難易度: <strong>1059 ±3</strong>]



<p>※リンク先へ移動するためには[<a href="https://paiza.jp/works" target="_blank" rel="noreferrer noopener">paiza</a>]へのログインが必要です。</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="300" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-01-01.png" alt="" class="wp-image-6504"/></figure>



<div class="wp-block-dvaux-frame sc_frame_wrap inline"><div class="sc_frame_title inline" style="background-color:#ccc">問題文</div><div class="sc_frame" style="background-color:#fff;border-color:#ccc">
<p>2つの正の整数a, bが改行区切りで入力されるのでaとbを掛け算した数値を出力してください。</p>



<p></p>



<p><strong>入力値（例）</strong><br>2<br>3</p>



<p><strong>出力値（例）</strong><br>6</p>
</div></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">解答例</h2>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php
    $a = trim(fgets(STDIN));
    $b = trim(fgets(STDIN));
    echo ($a * $b);
?&gt;</pre></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="660" height="160" src="https://chokomon.com/wp-content/uploads/2022/08/31-01-01-02.png" alt="" class="wp-image-6505"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://chokomon.com/31-skillcheck_sample-01-01-00588/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
