<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>priority_queue</anon>
  </categories>
  <description>問題 問題概要 優先順位のつけ方が与えられる。どの順番に選ばえばいいか。 解法 priority_queueで解いた。大学ごとに何人選ばれたかが優先順位をつける要因となるので、はじめの状態でそれぞれの大学が何人ずつ選ばれるかがわからないので、いきなりすべてをqueueに入れても、選ばれた数の部分を途中で変えなければならなくなり、priority_queueを使う意味がなくなってしまう。 そこでまず、やることは、同じ大学ごとにソートする。同じ大学内で優先順位をつけるには、解いた問題数、ミスの順に決まるので、それらと大学の番号をvectorに入れて、ソートする。ただ、今回は解いた問題数が多いほうが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F10%2F15%2F013605&quot; title=&quot;yukicoder No.433 ICPC国内予選の選抜ルールがこんな感じだったらうれしい - srupのメモ帳&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-10-15 01:36:05</published>
  <title>yukicoder No.433 ICPC国内予選の選抜ルールがこんな感じだったらうれしい</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/10/15/013605</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
