<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rockstar2007</author_name>
  <author_url>https://blog.hatena.ne.jp/rockstar2007/</author_url>
  <blog_title>三十路エンジニアの備忘録+α</blog_title>
  <blog_url>https://rockstar2007.hatenadiary.org/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
    <anon>Java</anon>
  </categories>
  <description>これはｎ桁の数を探すゲームです。適当な数を入れると桁も数字もあっていれば「Hit」としその個数が、数字はあっているが桁が異なっていれば「Blow」としてその個数が出力されます。それを繰り返すことで答えを探すことができます。このゲームを作成しなさい。答えの数は乱数を使って毎回別の答えを用意しましょう。 練習問題 - プログラミングスレまとめ in VIP //答え import java.util.*; class HitBlow { //正解の数をランダムで作成する private static char[] getSeikai() { Random rnd = new Random(); c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frockstar2007.hatenadiary.org%2Fentry%2F20100214%2F1266126231&quot; title=&quot;数当てゲーム（適当な数を入力し、その桁と数字を予測していくゲーム） - 三十路エンジニアの備忘録+α&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-02-14 14:43:51</published>
  <title>数当てゲーム（適当な数を入力し、その桁と数字を予測していくゲーム）</title>
  <type>rich</type>
  <url>https://rockstar2007.hatenadiary.org/entry/20100214/1266126231</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
