<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masuTomo</author_name>
  <author_url>https://blog.hatena.ne.jp/masuTomo/</author_url>
  <blog_title>masuTomo’s blog</blog_title>
  <blog_url>https://masutomo.hatenablog.com/</blog_url>
  <categories>
    <anon>python3</anon>
    <anon>yukicoder</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>この問題は別に書かなくてもいいかなと思ったけど，みんなそう思ったのか解説記事が少なそうなので一応書くことにした。 問題 No.893 お客様を誘導せよ - yukicoder やり方はすぐわかると思われる。 上図のようにレジ（塗りつぶしがレジ，白の四角が人）に人が並んでいるとすると出力すべき答えは である。 実装のポイントは以下の2点。 入力の受け取り レジに並んでいる人数の把握 入力の受け取りはこうした N = int(input()) P = [0 for _ in range(N)] A = [[] for _ in range(N)] for i in range(N): P[i],*…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasutomo.hatenablog.com%2Fentry%2F2020%2F01%2F03%2F005018&quot; title=&quot;yukicoder No.893 お客様を誘導せよ - masuTomo’s blog&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/m/masuTomo/20200103/20200103003557.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-03 00:50:18</published>
  <title>yukicoder No.893 お客様を誘導せよ</title>
  <type>rich</type>
  <url>https://masutomo.hatenablog.com/entry/2020/01/03/005018</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
