{"published":"2013-10-13 03:49:08","title":" \u8a18\u61b6\u57df\u30b5\u30a4\u30ba\u304c\u4e0d\u660e\u3067\u3059","blog_url":"https://takehikom.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/takehikom/","categories":["C"],"width":"100%","description":"\u3044\u304d\u306a\u308a\u3067\u3059\u304c\u554f\u984c\u3067\u3059\uff0e\u6b21\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u3089\uff0c\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\uff0e /* midpoint.c */ #include <stdio.h> struct point { double x, y; }; int main(void) { struct piont p, q, r; p.x = 1.2; p.y = 3.4; q.x = 3.1; q.y = 2.7; r.x = (p.x + q.x) / 2; r.y = (p.y + q.y) / 2; printf(\"P(%g,%g) - R(%g,%g) - Q(%g,%g)\\n\", p.x, p.y, r.x, r.y, q\u2026","image_url":null,"blog_title":"\u308f\u3055\u3063\u304dhb","version":"1.0","url":"https://takehikom.hateblo.jp/entry/20131013/1381603748","height":"190","type":"rich","author_name":"takehikom","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20131013%2F1381603748\" title=\" \u8a18\u61b6\u57df\u30b5\u30a4\u30ba\u304c\u4e0d\u660e\u3067\u3059 - \u308f\u3055\u3063\u304dhb\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}