<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>babcs2035</author_name>
  <author_url>https://blog.hatena.ne.jp/babcs2035/</author_url>
  <blog_title>きろく</blog_title>
  <blog_url>https://babcs2035.hateblo.jp/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
    <anon>AtCoder 400 点問題</anon>
  </categories>
  <description>問題 解法 解答 問題 D - Factorization 解法 M を素因数分解する．M の各素因数を N 個の箱に分けていくと考えればよい．このとき，単純に N ^ (各素因数の個数) を掛け合わせたものを答えにしてしまうと，重複が生まれてしまう．なので，重複組み合わせ H(n, r) = C(n+r-1, n) を使う．このとき，逆元などを用いた Combination を使う必要がある（制約が大きいので）． 解答 M = 1 のコーナーケースで 1 WA をしてしまった． Submission #3256550 - AtCoder Beginner Contest 110</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbabcs2035.hateblo.jp%2Fentry%2F2018%2F09%2F24%2F141324&quot; title=&quot;AtCoder Beginner Contest 110：D - Factorization - きろく&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/b/babcs2035/20180924/20180924141314.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-24 14:13:24</published>
  <title>AtCoder Beginner Contest 110：D - Factorization</title>
  <type>rich</type>
  <url>https://babcs2035.hateblo.jp/entry/2018/09/24/141324</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
