{"id":40,"date":"2011-09-22T04:36:33","date_gmt":"2011-09-21T20:36:33","guid":{"rendered":"http:\/\/www.shuizilong.com\/house\/?p=40"},"modified":"2012-03-03T04:38:33","modified_gmt":"2012-03-02T20:38:33","slug":"uva-11994-happy-painting","status":"publish","type":"post","link":"https:\/\/www.shuizilong.com\/house\/archives\/uva-11994-happy-painting\/","title":{"rendered":"UVa 11994. Happy Painting!"},"content":{"rendered":"<h3>Brief description :<\/h3>\n<p>&#8230; \u7ed9\u5b9a\u4e00\u68f5 N \u4e2a\u7ed3\u70b9\u7684\u6709\u6839\u6811\u68ee\u6797\uff0c\u8fb9\u4e0a\u6709\u4e00\u4e2a\u989c\u8272\uff0c\u9700\u8981\u652f\u6301\u4e0b\u9762\u8fd9 3 \u4e2a\u64cd\u4f5c\u3002<\/p>\n<ul>\n<li>Query(x, y) \u5982\u679c x \u548c y \u5728\u540c\u4e00\u68f5\u5b50\u6811\u4e2d\uff0c\u5219\u8be2\u95ee\u8def\u5f84\u4e0a\u8fb9\u7684\u6570\u76ee\u3001\u548c\u989c\u8272\u7684\u79cd\u7c7b\u6570\u3002<\/li>\n<li>Paint(x, y, c) \u5982\u679c x \u548c y \u5728\u540c\u4e00\u68f5\u5b50\u6811\u4e2d\uff0c\u5219\u5c06\u7ecf\u8fc7\u7684\u8def\u5f84\u4e0a\u6240\u6709\u8fb9\u67d3\u8272\u4e3a c\u3002<\/li>\n<li>Link(x, y, c) \u5982\u679c x \u548c y \u5728\u540c\u4e00\u4e2a\u5b50\u6811\u4e2d\uff0c\u4e14 x \u4e0d\u4e3a y \u7684\u7956\u5148\uff0c\u90a3\u4e48\u5207\u65ad x \u540c\u5176\u7236\u4eb2\u7684\u8054\u7cfb\uff0c\u4e4b\u540e\u7528\u4e00\u6761\u989c\u8272\u4e3a c \u7684\u8fb9\u8fde\u63a5 x\u3001y\u3002<\/li>\n<\/ul>\n<p>(.. N = 50, 000 ..)<\/p>\n<p><!--more--><\/p>\n<h3>Analysis :<\/h3>\n<p>.. LRJ Preset 3 ..( \u4ecb\u4e8e UVa \u7ecf\u5e38\u65e0\u9650\u91cd\u5b9a\u5411\u3002\u3002\u53ef\u4ee5\u7528 Virtual Judge \u505a VPN .. .)<\/p>\n<p>&#8230; \u663e\u7136\u8fd9\u4e2a\u9898\u5bf9\u6211\u6765\u8bf4\u5df2\u7ecf\u53d8\u6210\u53ef\u505a\u9898\u4e86\u3002\u3002\u867d\u7136\u5f53\u65f6\u5c31\u53ea\u6709\u8df3\u8fc7\u7684\u4efd\u4e86\u3002\u3002<br \/>\n\uff08\u3002\u3002\u3002LCA \u7684\u5730\u65b9 WA \u4e86\u4e00\u6b21\u3002\u3002\u8fd8\u6709 mask \u7684\u5730\u65b9 WA \u4e86\u51e0\u6b21\u3002\u3002\u3002\uff09<\/p>\n<pre class=\"brush: cpp; collapse: true; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\n\/** ` Micro Mezzo Macro Flation -- Overheated Economy ., **\/\r\n\r\n#include &lt;algorithm&gt;\r\n#include &lt;iostream&gt;\r\n#include &lt;iomanip&gt;\r\n#include &lt;sstream&gt;\r\n#include &lt;cstring&gt;\r\n#include &lt;cstdio&gt;\r\n#include &lt;string&gt;\r\n#include &lt;vector&gt;\r\n#include &lt;bitset&gt;\r\n#include &lt;queue&gt;\r\n#include &lt;cmath&gt;\r\n#include &lt;ctime&gt;\r\n#include &lt;list&gt;\r\n#include &lt;set&gt;\r\n#include &lt;map&gt;\r\n\r\nusing namespace std;\r\n\r\n#define REP(i, n) for (int i=0;i&lt;int(n);++i)\r\n#define FOR(i, a, b) for (int i=int(a);i&lt;int(b);++i)\r\n#define DWN(i, b, a) for (int i=int(b-1);i&gt;=int(a);--i)\r\n#define REP_1(i, n) for (int i=1;i&lt;=int(n);++i)\r\n#define FOR_1(i, a, b) for (int i=int(a);i&lt;=int(b);++i)\r\n#define DWN_1(i, b, a) for (int i=int(b);i&gt;=int(a);--i)\r\n#define REP_C(i, n) for (int n____=int(n),i=0;i&lt;n____;++i)\r\n#define FOR_C(i, a, b) for (int b____=int(b),i=a;i&lt;b____;++i)\r\n#define DWN_C(i, b, a) for (int a____=int(a),i=b-1;i&gt;=a____;--i)\r\n#define REP_N(i, n) for (i=0;i&lt;int(n);++i)\r\n#define FOR_N(i, a, b) for (i=int(a);i&lt;int(b);++i)\r\n#define DWN_N(i, b, a) for (i=int(b-1);i&gt;=int(a);--i)\r\n#define REP_1_C(i, n) for (int n____=int(n),i=1;i&lt;=n____;++i)\r\n#define FOR_1_C(i, a, b) for (int b____=int(b),i=a;i&lt;=b____;++i)\r\n#define DWN_1_C(i, b, a) for (int a____=int(a),i=b;i&gt;=a____;--i)\r\n#define REP_1_N(i, n) for (i=1;i&lt;=int(n);++i)\r\n#define FOR_1_N(i, a, b) for (i=int(a);i&lt;=int(b);++i)\r\n#define DWN_1_N(i, b, a) for (i=int(b);i&gt;=int(a);--i)\r\n#define REP_C_N(i, n) for (n____=int(n),i=0;i&lt;n____;++i)\r\n#define FOR_C_N(i, a, b) for (b____=int(b),i=a;i&lt;b____;++i)\r\n#define DWN_C_N(i, b, a) for (a____=int(a),i=b-1;i&gt;=a____;--i)\r\n#define REP_1_C_N(i, n) for (n____=int(n),i=1;i&lt;=n____;++i)\r\n#define FOR_1_C_N(i, a, b) for (b____=int(b),i=a;i&lt;=b____;++i)\r\n#define DWN_1_C_N(i, b, a) for (a____=int(a),i=b;i&gt;=a____;--i)\r\n\r\n#define DO(n) while(n--)\r\n#define DO_C(n) int n____ = n; while(n____--)\r\n#define TO(i, a, b) int s_=a&lt;b?1:-1,b_=b+s_;for(int i=a;i!=b_;i+=s_)\r\n#define TO_1(i, a, b) int s_=a&lt;b?1:-1,b_=b;for(int i=a;i!=b_;i+=s_)\r\n#define SQZ(i, j, a, b) for (int i=int(a),j=int(b)-1;i&lt;j;++i,--j)\r\n#define SQZ_1(i, j, a, b) for (int i=int(a),j=int(b);i&lt;=j;++i,--j)\r\n#define REP_2(i, j, n, m) REP(i, n) REP(j, m)\r\n#define REP_2_1(i, j, n, m) REP_1(i, n) REP_1(j, m)\r\n\r\n#define ALL(A) A.begin(), A.end()\r\n#define LLA(A) A.rbegin(), A.rend()\r\n#define CPY(A, B) memcpy(A, B, sizeof(A))\r\n#define INS(A, P, B) A.insert(A.begin() + P, B)\r\n#define ERS(A, P) A.erase(A.begin() + P)\r\n#define BSC(A, X) find(ALL(A), X) \/\/ != A.end()\r\n#define CTN(T, x) (T.find(x) != T.end())\r\n#define SZ(A) int(A.size())\r\n#define PB push_back\r\n#define MP(A, B) make_pair(A, B)\r\n\r\n#define Rush int T____; RD(T____); DO(T____)\r\n#pragma comment(linker, &quot;\/STACK:36777216&quot;)\r\n#pragma GCC optimize (&quot;O2&quot;)\r\n#define Ruby system(&quot;ruby main.rb&quot;)\r\n#define Haskell system(&quot;runghc main.hs&quot;)\r\n#define Pascal system(&quot;fpc main.pas&quot;)\r\n\r\n\/** I\/O Accelerator **\/\r\n\r\n\/* ... :&quot; We are I\/O Accelerator ... Use us at your own risk ;) ... &quot; .. *\/\r\n\r\ntemplate&lt;class T&gt; inline void RD(T &amp;);\r\ntemplate&lt;class T&gt; inline void OT(const T &amp;);\r\n\r\ninline int RD(){ int x; RD(x); return x;}\r\ntemplate&lt;class T&gt; inline T&amp; _RD(T &amp;x){ RD(x); return x;}\r\n\r\ntemplate&lt;class T0, class T1&gt; inline void RD(T0 &amp;x0, T1 &amp;x1){RD(x0), RD(x1);}\r\ntemplate&lt;class T0, class T1, class T2&gt; inline void RD(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2){RD(x0), RD(x1), RD(x2);}\r\ntemplate&lt;class T0, class T1, class T2, class T3&gt; inline void RD(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3){RD(x0), RD(x1), RD(x2), RD(x3);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4&gt; inline void RD(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3, T4 &amp;x4){RD(x0), RD(x1), RD(x2), RD(x3), RD(x4);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4, class T5&gt; inline void RD(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3, T4 &amp;x4, T5 &amp;x5){RD(x0), RD(x1), RD(x2), RD(x3), RD(x4), RD(x5);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4, class T5, class T6&gt; inline void RD(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3, T4 &amp;x4, T5 &amp;x5, T6 &amp;x6){RD(x0), RD(x1), RD(x2), RD(x3), RD(x4), RD(x5), RD(x6);}\r\ntemplate&lt;class T0, class T1&gt; inline void OT(T0 &amp;x0, T1 &amp;x1){OT(x0), OT(x1);}\r\ntemplate&lt;class T0, class T1, class T2&gt; inline void OT(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2){OT(x0), OT(x1), OT(x2);}\r\ntemplate&lt;class T0, class T1, class T2, class T3&gt; inline void OT(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3){OT(x0), OT(x1), OT(x2), OT(x3);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4&gt; inline void OT(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3, T4 &amp;x4){OT(x0), OT(x1), OT(x2), OT(x3), OT(x4);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4, class T5&gt; inline void OT(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3, T4 &amp;x4, T5 &amp;x5){OT(x0), OT(x1), OT(x2), OT(x3), OT(x4), OT(x5);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4, class T5, class T6&gt; inline void OT(T0 &amp;x0, T1 &amp;x1, T2 &amp;x2, T3 &amp;x3, T4 &amp;x4, T5 &amp;x5, T6 &amp;x6){OT(x0), OT(x1), OT(x2), OT(x3), OT(x4), OT(x5), OT(x6);}\r\n\r\ntemplate&lt;class T&gt; inline void RST(T &amp;A){memset(A, 0, sizeof(A));}\r\ntemplate&lt;class T0, class T1&gt; inline void RST(T0 &amp;A0, T1 &amp;A1){RST(A0), RST(A1);}\r\ntemplate&lt;class T0, class T1, class T2&gt; inline void RST(T0 &amp;A0, T1 &amp;A1, T2 &amp;A2){RST(A0), RST(A1), RST(A2);}\r\ntemplate&lt;class T0, class T1, class T2, class T3&gt; inline void RST(T0 &amp;A0, T1 &amp;A1, T2 &amp;A2, T3 &amp;A3){RST(A0), RST(A1), RST(A2), RST(A3);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4&gt; inline void RST(T0 &amp;A0, T1 &amp;A1, T2 &amp;A2, T3 &amp;A3, T4 &amp;A4){RST(A0), RST(A1), RST(A2), RST(A3), RST(A4);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4, class T5&gt; inline void RST(T0 &amp;A0, T1 &amp;A1, T2 &amp;A2, T3 &amp;A3, T4 &amp;A4, T5 &amp;A5){RST(A0), RST(A1), RST(A2), RST(A3), RST(A4), RST(A5);}\r\ntemplate&lt;class T0, class T1, class T2, class T3, class T4, class T5, class T6&gt; inline void RST(T0 &amp;A0, T1 &amp;A1, T2 &amp;A2, T3 &amp;A3, T4 &amp;A4, T5 &amp;A5, T6 &amp;A6){RST(A0), RST(A1), RST(A2), RST(A3), RST(A4), RST(A5), RST(A6);}\r\n\r\n\r\n\/** Add - On **\/\r\n\r\n\/\/ &lt;&lt;= ` 0. Daily Use .,\r\n\r\ntemplate&lt;class T&gt; inline void checkMin(T &amp;a,const T b){if (b&lt;a) a=b;}\r\ntemplate&lt;class T&gt; inline void checkMax(T &amp;a,const T b){if (b&gt;a) a=b;}\r\ntemplate &lt;class T, class C&gt; inline void checkMin(T&amp; a, const T b, C c){if (c(b,a)) a = b;}\r\ntemplate &lt;class T, class C&gt; inline void checkMax(T&amp; a, const T b, C c){if (c(a,b)) a = b;}\r\ntemplate&lt;class T&gt; inline T min(T a, T b, T c){return min(min(a, b), c);}\r\ntemplate&lt;class T&gt; inline T max(T a, T b, T c){return max(max(a, b), c);}\r\ntemplate&lt;class T&gt; inline T sqr(T a){return a*a;}\r\ntemplate&lt;class T&gt; inline T cub(T a){return a*a*a;}\r\nint Ceil(int x, int y){return (x - 1) \/ y + 1;}\r\n\r\n\/\/ &lt;&lt;= ` 1. Bitwise Operation .,\r\n\r\ninline bool _1(int x, int i){return x &amp; 1&lt;&lt;i;}\r\ninline int _1(int i){return 1&lt;&lt;i;}\r\ninline int _U(int i){return _1(i) - 1;};\r\n\r\ninline int count_bits(int x){\r\n    x = (x &amp; 0x55555555) + ((x &amp; 0xaaaaaaaa) &gt;&gt; 1);\r\n    x = (x &amp; 0x33333333) + ((x &amp; 0xcccccccc) &gt;&gt; 2);\r\n    x = (x &amp; 0x0f0f0f0f) + ((x &amp; 0xf0f0f0f0) &gt;&gt; 4);\r\n    x = (x &amp; 0x00ff00ff) + ((x &amp; 0xff00ff00) &gt;&gt; 8);\r\n    x = (x &amp; 0x0000ffff) + ((x &amp; 0xffff0000) &gt;&gt; 16);\r\n    return x;\r\n}\r\n\r\ntemplate&lt;class T&gt; inline T low_bit(T x) {\r\n    return x &amp; -x;\r\n}\r\n\r\ntemplate&lt;class T&gt; inline T high_bit(T x) {\r\n    T p = low_bit(x);\r\n    while (p != x) x -= p, p = low_bit(x);\r\n    return p;\r\n}\r\n\r\n\/\/ &lt;&lt;= ' 0. I\/O Accelerator interface .,\r\n\r\ntemplate&lt;class T&gt; inline void RD(T &amp;x){\r\n    \/\/cin &gt;&gt; x;\r\n    \/\/scanf(&quot;%d&quot;, &amp;x);\r\n    char c; for (c = getchar(); c &lt; '0'; c = getchar()); x = c - '0'; for (c = getchar(); c &gt;= '0'; c = getchar()) x = x * 10 + c - '0';\r\n    \/\/char c; c = getchar(); x = c - '0'; for (c = getchar(); c &gt;= '0'; c = getchar()) x = x * 10 + c - '0';\r\n\r\n}\r\n\r\ninline void OT(int a, int b){\r\n    printf(&quot;%d %d\\n&quot;, a, b);\r\n}\r\n\r\n\/* .................................................................................................................................. *\/\r\n\r\nconst int N = 50009;\r\n\r\nint l&#x5B;N], r&#x5B;N], p&#x5B;N], sz&#x5B;N], color&#x5B;N], delay&#x5B;N], mask&#x5B;N]; bool rt&#x5B;N];\r\nint n, m;\r\n\r\n#define lx l&#x5B;x]\r\n#define rx r&#x5B;x]\r\n\r\ninline void Paint(int x, int c){\r\n    if (x == 0) return;\r\n    color&#x5B;x] = delay&#x5B;x] = mask&#x5B;x] = c;\r\n}\r\n\r\ninline void Release(int x){\r\n    if (x == 0 || !delay&#x5B;x]) return;\r\n    Paint(lx, delay&#x5B;x]), Paint(rx, delay&#x5B;x]);\r\n    delay&#x5B;x] = 0;\r\n}\r\n\r\ninline void Update(int x){\r\n    sz&#x5B;x] = sz&#x5B;lx] + sz&#x5B;rx] + 1;\r\n    mask&#x5B;x] = color&#x5B;x] | mask&#x5B;lx] | mask&#x5B;rx];\r\n}\r\n\r\ninline void Set(int l&#x5B;], int y, int x){\r\n    l&#x5B;y] = x, p&#x5B;x] = y;\r\n}\r\n\r\ninline void Rotate(int x){\r\n    int y = p&#x5B;x], z = p&#x5B;y];\r\n\r\n    if (!rt&#x5B;y]) Release(z), Set(y == l&#x5B;z] ? l : r, z, x);\r\n    else p&#x5B;x] = z;\r\n\r\n    Release(y), Release(x);\r\n\r\n    if (x == l&#x5B;y]) Set(l, y, rx), Set(r, x, y);\r\n    else Set(r, y, lx), Set(l, x, y);\r\n\r\n    if (rt&#x5B;y]) rt&#x5B;y] = false, rt&#x5B;x] = true;\r\n\r\n    Update(y);\r\n}\r\n\r\ninline void Splay(int x){\r\n    while (!rt&#x5B;x]) Rotate(x);\r\n}\r\n\r\nint Access(int x){\r\n    int y = 0; do{\r\n        Splay(x), Release(x);\r\n        rt&#x5B;rx] = true, rt&#x5B;rx = y] = false; Update(x);\r\n        x = p&#x5B;y = x];\r\n    } while (x);\r\n    return y;\r\n}\r\n\r\ninline int Root(int x){\r\n    for (x = Access(x); lx ; x = lx);\r\n    return x;\r\n}\r\n\r\ninline int Depth(int x){\r\n    return sz&#x5B;Access(x)];\r\n}\r\n\r\ninline int Lca(int x, int y){\r\n    int lca; Access(y); y = 0; do{\r\n        Splay(x), Release(x); if (!p&#x5B;x]) lca = x;\r\n        rt&#x5B;rx] = true, rt&#x5B;rx = y] = false, Update(x);\r\n        x = p&#x5B;y = x];\r\n    } while (x);\r\n    return lca;\r\n}\r\n\r\n\r\n\/\/ Public :\r\n\r\nvoid Query(int x, int y){\r\n\r\n    if (x == y || Root(x) != Root(y)){\r\n        OT(0, 0);\r\n        return;\r\n    }\r\n\r\n    Access(y); y = 0; do{\r\n        Splay(x), Release(x); if (!p&#x5B;x]) OT(sz&#x5B;rx] + sz&#x5B;y], count_bits(mask&#x5B;rx] | mask&#x5B;y]));\r\n        rt&#x5B;rx] = true, rt&#x5B;rx = y] = false, Update(x);\r\n        x = p&#x5B;y = x];\r\n    } while (x);\r\n}\r\n\r\nvoid Paint(int x, int y, int c){\r\n\r\n    if (Root(x) != Root(y)) return;\r\n\r\n    c = _1(c - 1), Access(y); y = 0; do{\r\n        Splay(x), Release(x); if (!p&#x5B;x]) Paint(rx, c), Paint(y, c);\r\n        rt&#x5B;rx] = true, rt&#x5B;rx = y] = false, Update(x);\r\n        x = p&#x5B;y = x];\r\n    } while (x);\r\n}\r\n\r\nvoid Link(int x, int y, int c){\r\n\r\n    if (x == y || Root(x) == Root(y) &amp;&amp; Lca(x, y) == x) return;\r\n\r\n    c = _1(c - 1), Access(x), Splay(x), rt&#x5B;lx] = true;\r\n    lx = p&#x5B;lx] = 0, p&#x5B;x] = y, Paint(x, c), Update(x);\r\n    Access(x);\r\n}\r\n\r\nint main(){\r\n\r\n    \/\/freopen(&quot;in.txt&quot;, &quot;r&quot;, stdin);\r\n    \/\/freopen(&quot;out.txt&quot;, &quot;w&quot;, stdout);\r\n\r\n    while (scanf(&quot;%d %d&quot;, &amp;n, &amp;m) != EOF){\r\n\r\n        \/\/ Initializing Phase ...\r\n\r\n        REP_1(i, n) sz&#x5B;i] = 1, rt&#x5B;i] = true, RD(p&#x5B;i]);\r\n\r\n        REP_1(i, n) color&#x5B;i] = mask&#x5B;i] = _1(RD() - 1);\r\n\r\n        \/\/ Interaction Phase ...\r\n\r\n        int op, a, b, c;\r\n\r\n        DO(m){\r\n            RD(op); if (op == 3) RD(a, b), Query(a, b);\r\n            else if (op == 2) RD(a, b, c), Paint(a, b, c);\r\n            else RD(a, b, c), Link(a, b, c);\r\n        }\r\n\r\n        \/\/ Rececling ....\r\n\r\n        RST(p, l, r, delay);\r\n    }\r\n}\r\n<\/pre>\n<h3>External link :<\/h3>\n<p><a href=\"http:\/\/acm.hust.edu.cn:8080\/judge\/problem\/viewProblem.action?id=18699\">http:\/\/acm.hust.edu.cn:8080\/judge\/problem\/viewProblem.action?id=18699<\/a><br \/>\n<a href=\"http:\/\/blog.renren.com\/blog\/247466695\/722043176\">http:\/\/blog.renren.com\/blog\/247466695\/722043176<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Brief description : &#8230; \u7ed9\u5b9a\u4e00\u68f5 N \u4e2a\u7ed3\u70b9\u7684\u6709\u6839\u6811\u68ee\u6797\uff0c\u8fb9\u4e0a\u6709\u4e00\u4e2a\u989c\u8272\uff0c\u9700\u8981\u652f\u6301\u4e0b\u9762\u8fd9 3 \u4e2a\u64cd\u4f5c\u3002 Query(x, y) \u5982\u679c x \u548c y \u5728\u540c\u4e00\u68f5\u5b50\u6811\u4e2d\uff0c\u5219\u8be2\u95ee\u8def\u5f84\u4e0a\u8fb9\u7684\u6570\u76ee\u3001\u548c\u989c\u8272\u7684\u79cd\u7c7b\u6570\u3002 Paint(x, y, c) \u5982\u679c x \u548c y \u5728\u540c\u4e00\u68f5\u5b50\u6811\u4e2d\uff0c\u5219\u5c06\u7ecf\u8fc7\u7684\u8def\u5f84\u4e0a\u6240\u6709\u8fb9\u67d3\u8272\u4e3a c\u3002 Link(x, y, c) \u5982\u679c x \u548c y \u5728\u540c\u4e00\u4e2a\u5b50\u6811\u4e2d\uff0c\u4e14 x \u4e0d\u4e3a y \u7684\u7956\u5148\uff0c\u90a3\u4e48\u5207\u65ad x \u540c\u5176\u7236\u4eb2\u7684\u8054\u7cfb\uff0c\u4e4b\u540e\u7528\u4e00\u6761\u989c\u8272\u4e3a c \u7684\u8fb9\u8fde\u63a5 x\u3001y\u3002 (.. N = 50, 000 ..)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[31],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uva"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2tdP7-E","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":1,"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/posts\/40\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shuizilong.com\/house\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}