<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simezi_tan</author_name>
  <author_url>https://blog.hatena.ne.jp/simezi_tan/</author_url>
  <blog_title>simezi_tanの日記</blog_title>
  <blog_url>https://simezi-tan.hatenadiary.org/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>グラフ理論</anon>
    <anon>動的計画法</anon>
  </categories>
  <description>問題 n個の頂点からなる重み付き無向木が与えられる。 lucky edgeとは、辺の重みの数字を10進法で書いたときすべて4か7である辺を言う。 このとき、次の三つ組の個数を求めよ。 (i,j,k) i-&gt;jへ、lucky edgeを通るパスがある かつ i -&gt; kへlucky edgeを通るパスがある。 制約条件 n≦10^5, w≦10^9</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20110914%2F1315982773&quot; title=&quot;109 C Lucky Tree - simezi_tanの日記&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>2011-09-14 15:46:13</published>
  <title>109 C Lucky Tree</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20110914/1315982773</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
