<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>trhnmr</author_name>
  <author_url>https://blog.hatena.ne.jp/trhnmr/</author_url>
  <blog_title>資格部</blog_title>
  <blog_url>https://qe.hpeo.jp/</blog_url>
  <categories>
    <anon>応用情報技術者</anon>
  </categories>
  <description>自然数をキーとするデータを，ハッシュ表を用いて管理する。キーxのハッシュ関数h(x)を h(x) = x mod nとすると，任意のキーaとbが衝突する条件はどれか。ここで，nはハッシュ表の大きさであり，x mod nはxをnで割った余りを表す。 a+bがnの倍数 a−bがnの倍数 nがa+bの倍数 nがa−bの倍数 解答・解説 解答 イ 解説 条件から、a、bのハッシュ値はそれぞれ h(a) = a mod n （aをnで割った余り） h(b) = b mod n（bをnで割った余り）となります。 ここで、任意の自然数α、βを用いて、a、bは次のように表せます。 a = n × α + (a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqe.hpeo.jp%2Fentry%2Fipa-ap%2Fe24a06&quot; title=&quot;AP 令和6年度秋期 問6 - 資格部&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/trhnmr/20220629/20220629103303.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-10-13 12:36:55</published>
  <title>AP 令和6年度秋期 問6</title>
  <type>rich</type>
  <url>https://qe.hpeo.jp/entry/ipa-ap/e24a06</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
