{"id":809,"date":"2021-03-01T17:23:48","date_gmt":"2021-03-01T08:23:48","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=809"},"modified":"2021-03-01T17:23:48","modified_gmt":"2021-03-01T08:23:48","slug":"2021-2-28%e6%97%a5","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2021-2-28%e6%97%a5\/","title":{"rendered":"2021\/2\/28(\u65e5)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u30b8\u30e7\u30ae\u30f3\u30b0\u306b\u884c\u3063\u305f\u3002\u3064\u307e\u5148\u7740\u5730\u3067\u8d70\u308b\u3068\u885d\u6483\u3092\u811a\u3067\u306a\u304f\u8db3\u3067\u53d7\u3051\u6b62\u3081\u308b\u5f62\u306b\u306a\u308b\u304b\u3089\u819d\u304c\u3042\u307e\u308a\u75db\u307e\u306a\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u4eca\u65e5\u306f\u3044\u3064\u3082\u306e\u30b3\u30fc\u30b9\u306e7km\u3092\u5426\u5fdc\u306a\u304f\u5b8c\u8d70\u3067\u304d\u305f\u3002\u53f3\u3072\u3056\u3082\u5225\u306b\u75db\u304f\u306a\u3044\u3002\u540c\u3058\u30b3\u30fc\u30b9\u3092\u3082\u3046\u534a\u5468\u304f\u3089\u3044\u306f\u884c\u3051\u3066\u3057\u307e\u3044\u305d\u3046\u306b\u611f\u3058\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u307e\u5148\u7740\u5730\u306f\u3044\u3044\u306e\u3060\u304c\u3001\u62c7\u6307\u7403\u304c\u75db\u3080\u306e\u3060\u3051\u306f\u3069\u3046\u306b\u3082\u306a\u3089\u306a\u3044\u3002\u76ae\u304c\u539a\u304f\u306a\u308b\u306e\u5f85\u3061\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u304b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u6628\u65e5\u89e3\u3051\u306a\u304b\u3063\u305fABC193-E\u3092\u89e3\u3044\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b9\u91dd\u5206\u304b\u3063\u3066\u308a\u3083\u4f59\u88d5\u3063\u3057\u3087\u307f\u305f\u3044\u306a\u6c17\u5206\u3067\u3044\u305f\u306e\u3060\u304c\u3001\u666e\u901a\u306b\u82e6\u6226\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u6b21\u4e0d\u5b9a\u65b9\u7a0b\u5f0f\u3092extGCD\u3067\u89e3\u3053\u3046\u3068\u3057\u3066\u3001\u307e\u3042\u7b54\u3048\u306f\u51fa\u308b\u3051\u3069\u3001\u6700\u5c0f\u306e\u975e\u8ca0\u6574\u6570\u3068\u3044\u3046\u7e1b\u308a\u3092\u6e80\u8db3\u3055\u305b\u308b\u305f\u3081\u306e\u5f8c\u51e6\u7406\u304c\u3072\u3069\u304f\u3084\u3084\u3053\u3057\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d76\u5bfe\u3053\u3093\u306a\u3093\u60f3\u5b9a\u3057\u3066\u306a\u3044\u3060\u308d\u3068\u601d\u3063\u305f\u3089\u3001CRT(\u4e2d\u56fd\u5270\u4f59\u5b9a\u7406)\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u3042\u308c\u3070\u3082\u3068\u3082\u3068\u6700\u5c0f\u306e\u975e\u8ca0\u6574\u6570\u3092\u51fa\u3059\u3082\u306e\u306a\u306e\u3067\u4f55\u3082\u9811\u5f35\u308b\u5fc5\u8981\u306a\u3044\u3089\u3057\u3044\u3002$t=N(2x+2y)+x=M(p+q)+t_2$\u307f\u305f\u3044\u306a\u611f\u3058\u306e\u5f0f\u3092\u81ea\u5206\u306f$N(2x+2y)-M(p+q)=t_2-x$\u307f\u305f\u3044\u306a\u4e00\u6b21\u4e0d\u5b9a\u65b9\u7a0b\u5f0f\u307e\u3067\u9084\u5143\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001CRT\u3067\u3042\u308c\u3070$t\\equiv x \\pmod{2x+2y}$ $t\\equiv t_2 \\pmod{p+q}$\u3068\u3044\u3046\u305d\u306e\u307e\u307e\u306e\u5f62\u3067\u9069\u7528\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5358\u7d14\u306bCRT\u3092\u826f\u304f\u77e5\u3089\u306a\u304b\u3063\u305f\u304b\u3089\u82e6\u6226\u3057\u305f\u3002\u4eca\u56de\u77e5\u308c\u305f\u306e\u3067\u3053\u306e\u77e5\u8b58\u3092\u4f7f\u3044\u6163\u308c\u3066\u3044\u304d\u305f\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3061\u306a\u307f\u306b\u4e00\u6b21\u4e0d\u5b9a\u65b9\u7a0b\u5f0f$ax+by=c$\u3092\u89e3\u304f\u3060\u3051\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f5c\u3063\u305f\u3002\u4f7f\u3046\u304b\u77e5\u3089\u306a\u3044\u3051\u3069\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bool axbyc(lint a, lint &amp;x, lint b, lint &amp;y, lint c) {\n\tlint g = extGCD(a, b, x, y);\n\tif (c % g != 0)\n\t\treturn false;\n\tlint n = c \/ g;\n\tx *= n;\n\ty *= n;\n\treturn true;\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u8fd1\u3001\u8907\u96d1\u306a\u3082\u306e\u3092\u8907\u96d1\u306a\u307e\u307e\u306b\u982d\u306e\u4e2d\u306b\u5165\u308c\u308b\u80fd\u529b\u3092\u920d\u3089\u305b\u3066\u3057\u307e\u3063\u305f\u6c17\u304c\u3059\u308b\u3002\u7cbe\u795e\u4f11\u990a\u306e\u610f\u5473\u5408\u3044\u3067\u3053\u3053\u306e\u3068\u3053\u308d\u3057\u3070\u3089\u304f\u5446\u3068\u3057\u3066\u3044\u305f\u306e\u304c\u5927\u304d\u3044\u304c\u3001\u3044\u3064\u307e\u3067\u3082\u3053\u3046\u3057\u3066\u3044\u308b\u8a33\u306b\u3082\u3044\u304f\u307e\u3044\u3002\u30ea\u30cf\u30d3\u30ea\u305b\u306d\u3070\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b8\u30e7\u30ae\u30f3\u30b0\u306b\u884c\u3063\u305f\u3002\u3064\u307e\u5148\u7740\u5730\u3067\u8d70\u308b\u3068\u885d\u6483\u3092\u811a\u3067\u306a\u304f\u8db3\u3067\u53d7\u3051\u6b62\u3081\u308b\u5f62\u306b\u306a\u308b\u304b\u3089\u819d\u304c\u3042\u307e\u308a\u75db\u307e\u306a\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u4eca\u65e5\u306f\u3044\u3064\u3082\u306e\u30b3\u30fc\u30b9\u306e7km\u3092\u5426\u5fdc\u306a\u304f\u5b8c\u8d70\u3067\u304d\u305f\u3002\u53f3\u3072\u3056\u3082\u5225\u306b\u75db\u304f\u306a\u3044\u3002\u540c\u3058\u30b3\u30fc\u30b9\u3092\u3082\u3046\u534a\u5468\u304f\u3089\u3044\u306f\u884c\u3051\u3066\u3057 &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2021-2-28%e6%97%a5\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2021\/2\/28(\u65e5)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-809","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=809"}],"version-history":[{"count":14,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/809\/revisions"}],"predecessor-version":[{"id":823,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/809\/revisions\/823"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}