{"id":941,"date":"2010-12-05T22:30:59","date_gmt":"2010-12-05T13:30:59","guid":{"rendered":"http:\/\/peta.okechan.net\/blog\/?p=941"},"modified":"2010-12-05T22:44:01","modified_gmt":"2010-12-05T13:44:01","slug":"%e3%83%aa%e3%82%b9%e3%83%88%e5%86%85%e5%8c%85%e8%a1%a8%e8%a8%98%e3%81%a7%e7%9b%b4%e8%a7%92%e4%b8%89%e8%a7%92%e5%bd%a2%e3%81%ae%e8%be%ba%e3%81%ae%e9%95%b7%e3%81%95%e3%81%ae%e7%b5%84%e5%90%88%e3%81%9b","status":"publish","type":"post","link":"https:\/\/peta.okechan.net\/blog\/archives\/941","title":{"rendered":"\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3067\u76f4\u89d2\u4e09\u89d2\u5f62\u306e\u8fba\u306e\u9577\u3055\u306e\u7d44\u5408\u305b\u3092\u5f97\u308b"},"content":{"rendered":"<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nmax = 100\r\nprint &#x5B;(a, b, c) for a in xrange(1, max + 1) for b in xrange(a, max + 1) for c in xrange(b, max + 1) if (a**2 + b**2 == c**2)]\r\n# &#x5B;(3, 4, 5), (5, 12, 13), (6, 8, 10), (7, 24, 25), (8, 15, 17), (9, 12, 15), (9, 40, 41), (10, 24, 26), (11, 60, 61), (12, 16, 20), (12, 35, 37), (13, 84, 85), (14, 48, 50), (15, 20, 25), (15, 36, 39), (16, 30, 34), (16, 63, 65), (18, 24, 30), (18, 80, 82), (20, 21, 29), (20, 48, 52), (21, 28, 35), (21, 72, 75), (24, 32, 40), (24, 45, 51), (24, 70, 74), (25, 60, 65), (27, 36, 45), (28, 45, 53), (28, 96, 100), (30, 40, 50), (30, 72, 78), (32, 60, 68), (33, 44, 55), (33, 56, 65), (35, 84, 91), (36, 48, 60), (36, 77, 85), (39, 52, 65), (39, 80, 89), (40, 42, 58), (40, 75, 85), (42, 56, 70), (45, 60, 75), (48, 55, 73), (48, 64, 80), (51, 68, 85), (54, 72, 90), (57, 76, 95), (60, 63, 87), (60, 80, 100), (65, 72, 97)]\r\n<\/pre>\n<p>\u6614\u3001\u95a2\u6570\u578b\u8a00\u8a9e\u306eConcurrent Clean\u3067\u3084\u3063\u305f\u899a\u3048\u304c\u3042\u3063\u305f\u306e\u3067Python\u3067\u3084\u3063\u3066\u307f\u305f\u3002<br \/>\n\u6700\u521d\u3001\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3092\u30cd\u30b9\u30c8\u3055\u305b\u308b\u3053\u3068\u3070\u304b\u308a\u8003\u3048\u3066\u305f\u3051\u3069\u3001\u4e26\u5217\u306b\u66f8\u3051\u308b\uff08\u3068\u3044\u3063\u3066\u3082\u4e26\u5217\u306b\u52d5\u304f\u30ef\u30b1\u3058\u3083\u306a\u3044\u3051\u3069\u306d\uff09\u4e8b\u3092\u601d\u3044\u51fa\u3057\u305f\u3089\u3042\u3063\u3055\u308a\u3002<\/p>\n<p>\u95a2\u6570\u578b\u8a00\u8a9e\u754c\u9688\u3067\u306f\u3088\u304f\u3084\u308b\u554f\u984c\u306a\u306e\u3067\u3001Python\u3067\u3082\u3084\u308a\u5c3d\u304f\u3055\u308c\u3066\u308b\u304b\u306a\u3068\u601d\u3063\u305f\u3051\u3069\u3061\u3087\u3063\u3068\u30b0\u30b0\u3063\u305f\u9650\u308a\u3067\u306f\u767a\u898b\u3067\u304d\u305a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nmax = 100\r\nprint &#x5B;(a, b, c) for a in xrange(1, max + 1) for b in xrange(a, max + 1) for c in xrange(b, max + 1) if (a**2 + b**2 == c**2)]\r\n# &#x5B;(3, 4, 5), (5, 12, 13), (6, 8, 10), (7, 24, 25), (8, 15, 17), (9, 12, 15), (9, 40, 41), (10, 24, 26), (11, 60, 61), (12, 16, 20), (12, 35, 37), (13, 84, 85), (14, 48, 50), (15, 20, 25), (15, 36, 39), (16, 30, 34), (16, 63, 65), (18, 24, 30), (18, 80, 82), (20, 21, 29), (20, 48, 52), (21, 28, 35), (21, 72, 75), (24, 32, 40), (24, 45, 51), (24, 70, 74), (25, 60, 65), (27, 36, 45), (28, 45, 53), (28, 96, 100), (30, 40, 50), (30, 72, 78), (32, 60, 68), (33, 44, 55), (33, 56, 65), (35, 84, 91), (36, 48, 60), (36, 77, 85), (39, 52, 65), (39, 80, 89), (40, 42, 58), (40, 75, 85), (42, 56, 70), (45, 60, 75), (48, 55, 73), (48, 64, 80), (51, 68, 85), (54, 72, 90), (57, 76, 95), (60, 63, 87), (60, 80, 100), (65, 72, 97)]\r\n<\/pre>\n<p>\u6614\u3001\u95a2\u6570\u578b\u8a00\u8a9e\u306eConcurrent Clean\u3067\u3084\u3063\u305f\u899a\u3048\u304c\u3042\u3063\u305f\u306e\u3067Python\u3067\u3084\u3063\u3066\u307f\u305f\u3002<br \/>\n\u6700\u521d\u3001\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3092\u30cd\u30b9\u30c8\u3055\u305b\u308b\u3053\u3068\u3070\u304b\u308a\u8003\u3048\u3066\u305f\u3051\u3069\u3001\u4e26\u5217\u306b\u66f8\u3051\u308b\uff08\u3068\u3044\u3063\u3066\u3082\u4e26\u5217\u306b\u52d5\u304f\u30ef\u30b1\u3058\u3083\u306a\u3044\u3051\u3069\u306d\uff09\u4e8b\u3092\u601d\u3044\u51fa\u3057\u305f\u3089\u3042\u3063\u3055\u308a\u3002<\/p>\n<p>\u95a2\u6570\u578b\u8a00\u8a9e\u754c\u9688\u3067\u306f\u3088\u304f\u3084\u308b\u554f\u984c\u306a\u306e\u3067\u3001Python\u3067\u3082\u3084\u308a\u5c3d\u304f\u3055\u308c\u3066\u308b\u304b\u306a\u3068\u601d\u3063\u305f\u3051\u3069\u3061\u3087\u3063\u3068\u30b0\u30b0\u3063\u305f\u9650\u308a\u3067\u306f\u767a\u898b\u3067\u304d\u305a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[60],"class_list":["post-941","post","type-post","status-publish","format-standard","hentry","category-tech","tag-python"],"_links":{"self":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/comments?post=941"}],"version-history":[{"count":0,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/941\/revisions"}],"wp:attachment":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/media?parent=941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/categories?post=941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/tags?post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}