{"author_name":"prd_xxx","author_url":"https://blog.hatena.ne.jp/prd_xxx/","width":"100%","image_url":null,"title":"ARC111-A Simple Math 2","categories":["ARC","Python"],"provider_url":"https://hatena.blog","blog_url":"https://prd-xxx.hateblo.jp/","height":"190","provider_name":"Hatena Blog","description":"Simple (\u7b11) \u3068\u306f... \u30b3\u30f3\u30c6\u30b9\u30c8\u4e2d\u306b\u89e3\u3051\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3069\u3046\u3084\u3063\u305f\u3089\u81ea\u7136\u306b\u89e3\u3051\u308b\u3088\u3046\u306b\u306a\u308b\u304b\u6574\u7406\u3057\u3066\u307f\u307e\u3059 \u554f\u984c\u30ea\u30f3\u30af A - Simple Math 2 \u554f\u984c\u6982\u8981 \u3092\u6c42\u3081\u3088 ( \u306f \u306e\u6574\u6570\u90e8\u5206) M=10\u3067\u984c\u610f\u3092\u7406\u89e3\u3057\u3066\u307f\u308b \u307e\u305a\u306f\u984c\u610f\u3092\u611f\u899a\u3067\u7406\u89e3\u3057\u3088\u3046\u3068\u3057\u3066\u307f\u307e\u3059 maspy \u3055\u3093\u306e\u304a\u3063\u3057\u3083\u308b\u3088\u3046\u306b\u3001 \u3067\u4e00\u5ea6\u8003\u3048\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002 mod M\u306e\u57fa\u790e\u7684\u306a\u3053\u3068\u304c\u975e\u81ea\u660e\u306b\u611f\u3058\u308b\u65b9\u306f\u3001mod 10 \u306e\u5834\u5408\u3092\u8003\u3048\u308b\u306e\u3082\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u300cab mod M \u306f a mod M, b mod M \u304b\u3089\u5206\u304b\u308b\u300d\u3068\u304bM=10\u3060\u3068\u77e5\u3063\u3066\u3044\u307e\u3059\u3088\u306d\u3002\u6628\u65e5\u306eA\u3082\u300c(a^b//10) mod 1\u2026","blog_title":"\u3054\u308a\u3061\u3083\u3093\u304c\u3086\u304f","url":"https://prd-xxx.hateblo.jp/entry/2021/01/10/201229","published":"2021-01-10 20:12:29","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprd-xxx.hateblo.jp%2Fentry%2F2021%2F01%2F10%2F201229\" title=\"ARC111-A Simple Math 2 - \u3054\u308a\u3061\u3083\u3093\u304c\u3086\u304f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0"}