<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atcoder</author_name>
  <author_url>https://blog.hatena.ne.jp/atcoder/</author_url>
  <blog_title>AtCoderInfo</blog_title>
  <blog_url>https://info.atcoder.jp/</blog_url>
  <categories>
    <anon>Color Coding</anon>
    <anon>乱択アルゴリズム</anon>
    <anon>グラフ理論</anon>
    <anon>確率</anon>
  </categories>
  <description>1. 概要 本記事では，Color-Coding という手法について解説します． Color-Coding とは $k$ 個のものを選ぶというような存在判定問題や最適化問題において，それぞれのものにランダムな色を割り当てるという手法です．特に，比較的小さな $k$ について「ちょうど $k$ 種類のものを $1$ 度ずつ使う必要がある」という制約がある最適化問題で強力です．学術的にはグラフから $k$ 頂点のパスやサイクル，その他の種類の部分グラフを検出するアルゴリズムとして提案された乱択アルゴリズムです（文献 1）． 本記事ではそのうちでも最も簡潔な，パスの検出という問題を通して Color…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfo.atcoder.jp%2Fentry%2Falgorithm_lectures%2Fcolor_coding&quot; title=&quot;Color-Coding - AtCoderInfo&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.user.blog.st-hatena.com/default_entry_og_image/158934417/1702097020779738</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-10 14:17:14</published>
  <title>Color-Coding</title>
  <type>rich</type>
  <url>https://info.atcoder.jp/entry/algorithm_lectures/color_coding</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
