<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>二項係数</anon>
    <anon>総和を求める</anon>
    <anon>気付き系</anon>
    <anon>絶対値やminを扱う問題</anon>
    <anon>数列</anon>
    <anon>考察：不変量に着目する</anon>
    <anon>グルーピング(算数)</anon>
    <anon>グルーピングの数え上げ問題</anon>
    <anon>CodeforcesDIV1-B</anon>
    <anon>CodeforcesR1900</anon>
  </categories>
  <description>本番は「どのように に分けても絶対値和は等しい」ということに気づかず、ものすごくエグい二項係数計算を頑張って綺麗な表式を得た。 問題へのリンク 問題概要 長さが の数列 が与えられる。 数列を 個ずつのペア (順序の違いは考慮する) に分ける方法は 通り考えられる。そのそれぞれについての以下の値の総和を 998244353 で割ったあまりを求めよ。 2 つの数列を , とする は小さい順にソートし、 は大きい順にソートする スコアを とする 制約 解法 これ知って衝撃だったのだけど、どのように に分けてもスコアは以下の一定値になる。 を小さい順にソートしておくと、スコアは常に以下の一定値になる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2020%2F11%2F02%2F034900&quot; title=&quot;Codeforces Round #680 (Div. 1) B. Divide and Sum (R1900) - けんちょんの競プロ精進記録&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/80936665/1516148889515660</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-02 03:49:00</published>
  <title>Codeforces Round #680 (Div. 1) B. Divide and Sum (R1900)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2020/11/02/034900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
