{"height":"190","author_url":"https://blog.hatena.ne.jp/griefworker/","version":"1.0","image_url":null,"provider_name":"Hatena Blog","categories":[".NET","C#","\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2024%2F12%2F13%2Fb12\" title=\"B12 - Equation - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://tnakamura.hatenablog.com/entry/2024/12/13/b12","author_name":"griefworker","blog_title":"present","description":"atcoder.jp 1 \u2266 N \u2266 100000 \u3067\u3001x * x * x + x = N \u306b\u306a\u308b x \u3092\u63a2\u3059\u308f\u3051\u3060\u304b\u3089\u3001x \u304c 100 \u672a\u6e80\u306a\u306e\u306f\u78ba\u5b9f\u3002 var N = int.Parse(Console.ReadLine()!); var left = 0.0; var right = 100.0; while ((right - left) >= 0.001) { var x = (left + right) / 2.0; var a = f(x); if (a <= N) { left = x; } else { right = x; } } Console.WriteLine(lef\u2026","blog_url":"https://tnakamura.hatenablog.com/","width":"100%","published":"2024-12-14 08:00:00","provider_url":"https://hatena.blog","title":"B12 - Equation","type":"rich"}