<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>otaks</author_name>
  <author_url>https://blog.hatena.ne.jp/otaks/</author_url>
  <blog_title>ひよっこプログラマのプログラミング</blog_title>
  <blog_url>https://otaks.hatenadiary.org/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>組み合わせ・順列</anon>
  </categories>
  <description>問題文 1から9の整数a,b,c,dと演算子+,-,*を使って10になる式を探して出力する問題です。 4つの数字の並び替えが4!=24通り 3種類の演算子を3箇所につかうので3*3*3=27通り括弧のつけかたは( (a+b)+(c+d))と(((a+b)+c)+d)と*1+d)の3通りを試しましたが通りました。ジャッジのしくみがよくわかりません。 全部で24*27*3で1944通り試しています。 #include &lt;iostream&gt; #include &lt;vector&gt; #include &lt;algorithm&gt; using namespace std; char o[3] = {'+','-'…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotaks.hatenadiary.org%2Fentry%2F20120318%2F1332059214&quot; title=&quot;AOJ - Problem 0041 : Expression - ひよっこプログラマのプログラミング&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>2012-03-18 17:26:54</published>
  <title>AOJ - Problem 0041 : Expression</title>
  <type>rich</type>
  <url>https://otaks.hatenadiary.org/entry/20120318/1332059214</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
