<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題 No.368 LCM of K-products - yukicoder 解法 最小公倍数は, 各素因数が最大のものを組み合わせたものになります。よって, 各素因数を調べて, p の素因数を考える場合は p の指数が多い順に K 個取ってくる, というようにやれば OK です。 const int MAXN = 1010; int A[MAXN]; map&lt;int, vi&gt; mp; void calc(int x, map&lt;int, int&gt;&amp; M) { for (int i = 2; i*i &lt;= x; i++) { int cnt = 0; while (x%i == 0) { x …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F04%2F30%2F003000&quot; title=&quot;yukicoder No.368 LCM of K-products - mayoko’s diary&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>2016-04-30 00:30:00</published>
  <title>yukicoder No.368 LCM of K-products</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2016/04/30/003000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
