<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Matchald</author_name>
  <author_url>https://blog.hatena.ne.jp/Matchald/</author_url>
  <blog_title>Matchaldの日記</blog_title>
  <blog_url>https://matchald.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>kupc2016.contest.atcoder.jp A問題 問題概要 A時間目からB時間めの始まる直前まで授業は中止される。 N個の履修中の授業のうちいくつの授業をうけることができるか。 解法 各授業の時間に対して の範囲内でないものをカウントしていけば良い。 #include &lt;iostream&gt; int main() { int n, a, b; std::cin &gt;&gt; n &gt;&gt; a &gt;&gt; b; int ans = 0; for (int i = 0; i &lt; n; i++) { int num; std::cin &gt;&gt; num; if (num &lt; a || b &lt;= num) an…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatchald.hateblo.jp%2Fentry%2F2016%2F10%2F02%2F190130&quot; title=&quot;KUPC2016 A~D問題 - Matchaldの日記&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>http://chart.apis.google.com/chart?cht=tx&amp;chl=%20%5BA%20-%20B%29</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-02 19:01:30</published>
  <title>KUPC2016 A~D問題</title>
  <type>rich</type>
  <url>https://matchald.hateblo.jp/entry/2016/10/02/190130</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
