{"provider_name":"Hatena Blog","url":"https://otaks.hatenadiary.org/entry/20120318/1332059214","author_url":"https://blog.hatena.ne.jp/otaks/","published":"2012-03-18 17:26:54","categories":["AOJ","\u7d44\u307f\u5408\u308f\u305b\u30fb\u9806\u5217"],"height":"190","version":"1.0","title":"AOJ - Problem 0041 : Expression","blog_title":"\u3072\u3088\u3063\u3053\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","author_name":"otaks","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotaks.hatenadiary.org%2Fentry%2F20120318%2F1332059214\" title=\"AOJ - Problem 0041 : Expression - \u3072\u3088\u3063\u3053\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://otaks.hatenadiary.org/","image_url":null,"width":"100%","provider_url":"https://hatena.blog","description":"\u554f\u984c\u6587 1\u304b\u30899\u306e\u6574\u6570a,b,c,d\u3068\u6f14\u7b97\u5b50+,-,*\u3092\u4f7f\u3063\u306610\u306b\u306a\u308b\u5f0f\u3092\u63a2\u3057\u3066\u51fa\u529b\u3059\u308b\u554f\u984c\u3067\u3059\u3002 4\u3064\u306e\u6570\u5b57\u306e\u4e26\u3073\u66ff\u3048\u304c4!=24\u901a\u308a 3\u7a2e\u985e\u306e\u6f14\u7b97\u5b50\u30923\u7b87\u6240\u306b\u3064\u304b\u3046\u306e\u30673*3*3=27\u901a\u308a\u62ec\u5f27\u306e\u3064\u3051\u304b\u305f\u306f( (a+b)+(c+d))\u3068(((a+b)+c)+d)\u3068*1+d)\u306e3\u901a\u308a\u3092\u8a66\u3057\u307e\u3057\u305f\u304c\u901a\u308a\u307e\u3057\u305f\u3002\u30b8\u30e3\u30c3\u30b8\u306e\u3057\u304f\u307f\u304c\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u3002 \u5168\u90e8\u306724*27*3\u30671944\u901a\u308a\u8a66\u3057\u3066\u3044\u307e\u3059\u3002 #include <iostream> #include <vector> #include <algorithm> using namespace std; char o[3] = {'+','-'\u2026"}