<?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.52 よくある文字列の問題 - yukicoder全探索 Cだと、重複を除いた要素数を数えたり、文字列の集合を作ったり、いちいち困難 char s[11],a[1030][11]; int c(char*a,char*b){return strcmp(a,b);} int main(){ int t,l,r,n,i; n=strlen(gets(s)); for(t=0;t&lt;1&lt;&lt;n;t++){ //先頭から取るか末尾から取るか、2^nの選択肢がある //（最後の1文字はどっちでも同じなので実質2^(n-1)だが） l=0;r=n; for(i=0;i&lt;n;i++)a[t]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2016%2F04%2F08%2F133836&quot; title=&quot;yukicoder No.52 よくある文字列の問題 - メモ&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-04-08 13:38:36</published>
  <title>yukicoder No.52 よくある文字列の問題</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2016/04/08/133836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
