<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sugarknri</author_name>
  <author_url>https://blog.hatena.ne.jp/sugarknri/</author_url>
  <blog_title>メモ</blog_title>
  <blog_url>https://sugarknri.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題はこちら No.446 ゆきこーだーの雨と雪 (1) - yukicoder0～12345のいずれかと文字列として一致しているかどうかを調べるだけ c++ならto_string関数なるものがあるらしいが、cにはない 文字列を数値にするならatoiという関数があるのでitoaとかないのかと思いぐぐったところ、非標準ライブラリらしく使えない 代わりにsprintfを使えとwikipediaには書いてあった int f(char*s){ char t[10]; int i; for(i=0;i&lt;=12345;i++){ sprintf(t,&quot;%d&quot;,i); if(strcmp(s,t)==0)r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2016%2F12%2F04%2F081218&quot; title=&quot;yukicoder No.446 ゆきこーだーの雨と雪 (1) - メモ&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-12-04 08:12:18</published>
  <title>yukicoder No.446 ゆきこーだーの雨と雪 (1)</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2016/12/04/081218</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
