{"height":"190","provider_name":"Hatena Blog","width":"100%","published":"2008-05-10 00:00:00","description":"\u958b\u5e73\uff081\uff09 \u958b\u5e73\u306e\u65b9\u6cd5\u306f\u305f\u3076\u3093\u4e2d\u5b66\u3067\u7fd2\u3063\u305f\u3068\u601d\u3046\u304c\u3001\u5272\u308a\u7b97\u3068\u4f3c\u305f\u3088\u3046\u306a\u3084\u308a\u65b9\u304c\u3042\u308b\u3002\u3042\u308c\u3092\u30b3\u30fc\u30c9\u5316\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3060\u308d\u3046\u304b\u3002 #include using namespace std;void sqrt(int a, int& b, int& c); int get_bit_num(int a);int main() { for(int i = 0; i int b, c; sqrt(i, b, c); // i = b^2 + c fprintf(stdout, \"%d %d %d\\n\", i, b, c); } }void sqrt(int a, int& b, int& c) { b =\u2026","provider_url":"https://hatena.blog","type":"rich","author_url":"https://blog.hatena.ne.jp/inamori/","url":"https://inamori.hateblo.jp/entry/20080510/p1","version":"1.0","categories":["GPGPU"],"blog_title":"inamori\u2019s diary","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20080510%2Fp1\" title=\"GPGPU\u3067\u591a\u500d\u9577\u6574\u6570\u8a08\u7b97\uff085\uff09 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"inamori","image_url":null,"title":"GPGPU\u3067\u591a\u500d\u9577\u6574\u6570\u8a08\u7b97\uff085\uff09","blog_url":"https://inamori.hateblo.jp/"}