<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiwawa_star</author_name>
  <author_url>https://blog.hatena.ne.jp/chiwawa_star/</author_url>
  <blog_title>C++競プロ学習日記(仮)</blog_title>
  <blog_url>https://chiwawa-star.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>STL</anon>
  </categories>
  <description>C++ の algorithm ヘッダにある std::replace_if を初めて使って解いたのでメモ。解いた問題：No.676 C0nvertPr0b1em - yukicoder ★1 題意 英文字列 が与えられる。 に含まれる英字 を 数字の に、 を 数字の に置き換えたものを出力する。 考察 特定の英字を探し、一致したら数字に置き換えるという易しい問題です。 loop で一文字ずつ見ていっても解けますが、今回は std::replace_if を使って解きました。std::replace_if は､｢条件を満たす要素を指定された値に置き換える。*1 ｣という機能を提供するSTLで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2018%2F05%2F07%2F041636&quot; title=&quot;No.676 C0nvertPr0b1em｜yukicoder｜std::replace_if - C++競プロ学習日記(仮)&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://chart.apis.google.com/chart?cht=tx&amp;chl=S</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-07 04:16:36</published>
  <title>No.676 C0nvertPr0b1em｜yukicoder｜std::replace_if</title>
  <type>rich</type>
  <url>https://chiwawa-star.hatenablog.com/entry/2018/05/07/041636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
