{"author_url":"https://blog.hatena.ne.jp/bouzuya/","blog_url":"https://bouzuya.hatenablog.com/","published":"2022-03-16 22:41:44","provider_url":"https://hatena.blog","blog_title":"bouzuya.hatenablog.com","author_name":"bouzuya","type":"rich","url":"https://bouzuya.hatenablog.com/entry/2022/03/16/224144","title":"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u6570\u5b66 \u6f14\u7fd2\u554f\u984c\u96c6 089, 090 \u3092\u89e3\u3044\u305f","description":"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u6570\u5b66 \u6f14\u7fd2\u554f\u984c\u96c6 089 - Log Inequality 2 \u3092\u89e3\u3044\u305f\u3002 \u554f\u984c: https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_by \\log_2 a < b \\log_2 c \\log_2 a < \\log_2 c^b a < c^b c^b \u306f overflow \u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002\u5236\u7d04\u304b\u3089 1 <= a <= 10^18 \u306a\u306e\u3067 MIN(c^b,10^18+1) \u3067\u826f\u3044\u3002\u3053\u308c\u306f c = 2 \u3068\u3057\u3066\u3082 b <= 60 \u7a0b\u5ea6\u3067\u5341\u5206\u306b\u5927\u304d\u3044\u3068\u5206\u304b\u308b (2^60 > 10^18) \u3002\u307e\u2026","width":"100%","version":"1.0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbouzuya.hatenablog.com%2Fentry%2F2022%2F03%2F16%2F224144\" title=\"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u6570\u5b66 \u6f14\u7fd2\u554f\u984c\u96c6 089, 090 \u3092\u89e3\u3044\u305f - bouzuya.hatenablog.com\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"image_url":null,"provider_name":"Hatena Blog"}