{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20071231%2Fp3\" title=\"Re: amb\u3063\u3066C\u3067\u3082\u66f8\u3051\u308b\u306e\u304b\u306a - \u307e\u3081\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u307e\u3081\u3081\u3082","published":"2007-12-31 00:00:02","categories":[],"provider_name":"Hatena Blog","width":"100%","author_name":"ku-ma-me","blog_url":"https://mametter.hatenablog.com/","image_url":null,"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/ku-ma-me/","height":"190","url":"https://mametter.hatenablog.com/entry/20071231/p3","title":"Re: amb\u3063\u3066C\u3067\u3082\u66f8\u3051\u308b\u306e\u304b\u306a","version":"1.0","description":"ref: http://mono.kmc.gr.jp/~yhara/d/?date=20071229#p01 C + setjmp + longjmp \u3067 amb \u304c\u5b9f\u88c5\u3067\u304d\u308b\u304b\u3068\u3044\u3046\u8a71\u984c\u3002CPS \u5909\u63db\u3059\u308c\u3070\u3067\u304d\u305d\u3046\u3067\u3059\u3051\u3069\u3001CPS \u5909\u63db\u3059\u308c\u3070 setjmp + longjmp \u304c\u306a\u304f\u3066\u3082\u3067\u304d\u305d\u3046 *1 \u3067\u9762\u767d\u304f\u306a\u3044\u306e\u3067\u3001\u7121\u7406\u77e2\u7406\u4ee5\u4e0b\u304c\u52d5\u304f\u3088\u3046\u306b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 void test() { int i = amb(3, 4, 6, 7); int j = amb(3, 5, 8, 11); if(prime(i + j)) printf(\"(%d, %d)\\n\", i, j); amb(0);\u2026","type":"rich"}