<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ngtkana</author_name>
  <author_url>https://blog.hatena.ne.jp/ngtkana/</author_url>
  <blog_title>ブログ名</blog_title>
  <blog_url>https://blog.ngtkana.com/</blog_url>
  <categories>
  </categories>
  <description>問題 問題１ $2 ≤ N$ なる整数 $N$ が与えられます。$0 ≤ L &lt; R &lt; N$ なる整数の組 $(L, R)$ なる $(L, R)$ を一様ランダムに生成する方法を示せ 問題２ $1 ≤ N$ なる整数 $N$ が与えられます。$0 ≤ L ≤ R &lt; N$ なる整数の組 $(L, R)$ なる $(L, R)$ を一様ランダムに生成する方法を示せ 問題１は要するに区間が与えられるので、その非空な部分区間を一様ランダム生成してくださいということですね。 問題２は $R$ の代わりに $R + 1$ を生成することにすることで問題１に帰着できますが、実用性の観点からこの記事では…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ngtkana.com%2Fentry%2F2024%2F04%2F26%2F024657&quot; title=&quot;【図解】$0 ≤ L &amp;lt; R &amp;lt; N$ なる整数の組 $(L, R)$ を一様ランダムに生成する方法 - ブログ名&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/n/ngtkana/20240426/20240426021903.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-04-26 02:46:57</published>
  <title>【図解】$0 ≤ L &lt; R &lt; N$ なる整数の組 $(L, R)$ を一様ランダムに生成する方法</title>
  <type>rich</type>
  <url>https://blog.ngtkana.com/entry/2024/04/26/024657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
