{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cstyle type\u003d\"text/css\"\u003e .sampledata { font-family: \"Courier New\", Courier, monospace; white-space: pre; }\u003c/style\u003e\u003cp class\u003d\"MsoNormal\" align\u003d\"center\" style\u003d\"text-align:center\"\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e\u0026nbsp; \u0026nbsp; 神犇家门口种了一棵苹果树。苹果树作为一棵树,当然是呈树状结构,每根树枝连接两个苹果,每个苹果都可以沿着一条由树枝构成的路径连到树根,而且这样的路径只存在一条。由于这棵苹果树是神犇种的,所以苹果都发生了变异,变成了各种各样的颜色。我们用一个\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shapetype id\u003d\"_x0000_t75\"\r\n coordsize\u003d\"21600,21600\" o:spt\u003d\"75\" o:preferrelative\u003d\"t\" path\u003d\"m@4@5l@4@11@9@11@9@5xe\"\r\n filled\u003d\"f\" stroked\u003d\"f\"\u003e\r\n \u003cv:stroke joinstyle\u003d\"miter\"/\u003e\r\n \u003cv:formulas\u003e\r\n \u003cv:f eqn\u003d\"if lineDrawn pixelLineWidth 0\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @0 1 0\"/\u003e\r\n \u003cv:f eqn\u003d\"sum 0 0 @1\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @2 1 2\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @3 21600 pixelWidth\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @3 21600 pixelHeight\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @0 0 1\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @6 1 2\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @7 21600 pixelWidth\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @8 21600 0\"/\u003e\r\n \u003cv:f eqn\u003d\"prod @7 21600 pixelHeight\"/\u003e\r\n \u003cv:f eqn\u003d\"sum @10 21600 0\"/\u003e\r\n \u003c/v:formulas\u003e\r\n \u003cv:path o:extrusionok\u003d\"f\" gradientshapeok\u003d\"t\" o:connecttype\u003d\"rect\"/\u003e\r\n \u003co:lock v:ext\u003d\"edit\" aspectratio\u003d\"t\"/\u003e\r\n\u003c/v:shapetype\u003e\u003cv:shape id\u003d\"_x0000_i1025\" type\u003d\"#_x0000_t75\" style\u003d\u0027width:4.5pt;\r\n height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image001.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d6 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image002.gif\"\r\nv:shapes\u003d\"_x0000_i1025\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003e\n \u003c!--[if gte vml 1]\u003e\u003cv:shape\r\n id\u003d\"_x0000_i1026\" type\u003d\"#_x0000_t75\" style\u003d\u0027width:4.5pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image001.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]--\u003e\n \u003c!--[if !vml]--\u003e\u003cimg width\u003d\"6\" height\u003d\"16\" SRC\u003d\"CDN_BASE_URL/82aec4cede846705eb4104d268849e89?v\u003d1591342376\" v:shapes\u003d\"_x0000_i1026\" alt\u003d\"\"\u003e\n \u003c!--[endif]--\u003e\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e到\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1027\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:12.75pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image003.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d17 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image004.gif\"\r\nv:shapes\u003d\"_x0000_i1027\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003en\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e之间的正整数来表示一种颜色。树上一共有\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003en\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1028\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:12.75pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image003.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d17 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image004.gif\"\r\nv:shapes\u003d\"_x0000_i1028\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e个苹果。每个苹果都被编了号码,号码为一个\u003c/span\u003e1\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e到\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1031\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:12.75pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image003.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d17 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image004.gif\"\r\nv:shapes\u003d\"_x0000_i1031\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003en\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e之间的正整数。我们用\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1032\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:4.5pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image005.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d6 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image006.gif\"\r\nv:shapes\u003d\"_x0000_i1032\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003e0\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e代表树根。只会有一个苹果直接根。\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003e\n \u003co:p\u003e\u003c/o:p\u003e\u003c/span\u003e\u003c/p\u003e \n\u003cp class\u003d\"MsoNormal\" align\u003d\"left\" style\u003d\"text-indent: 21.2pt;\"\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e有许许多多的人来神犇家里膜拜神犇。可神犇可不是随便就能膜拜的。前来膜拜神犇的人需要正确回答一个问题,才能进屋膜拜神犇。这个问题就是,从树上编号为\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1033\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:11.25pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image007.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d15 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image008.gif\"\r\nv:shapes\u003d\"_x0000_i1033\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003eu\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e的苹果出发,由树枝走到编号为\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1034\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:11.25pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image009.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d15 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image010.gif\"\r\nv:shapes\u003d\"_x0000_i1034\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003ev\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e的苹果,路径上经过的苹果一共有多少种不同的颜色(包括苹果\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1035\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:11.25pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image007.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d15 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image008.gif\"\r\nv:shapes\u003d\"_x0000_i1035\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003eu\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e和苹果\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003ev\u003c/span\u003e\u003cspan style\u003d\"font-family:宋体;\r\nmso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;\r\nmso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e的颜色)?不过神犇注意到,有些来膜拜的人患有色盲症。具体地说,一个人可能会认为颜色\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-begin\u0027\u003e\u003c/span\u003e\r\nQUOTE \u003c/span\u003e\u003cspan lang\u003dEN-US\u003e\u003c![if gte vml 1]\u003e\u003cv:shape id\u003d\"_x0000_i1036\"\r\n type\u003d\"#_x0000_t75\" style\u003d\u0027width:11.25pt;height:12pt\u0027\u003e\r\n \u003cv:imagedata src\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image011.png\"\r\n o:title\u003d\"\" chromakey\u003d\"white\"/\u003e\r\n\u003c/v:shape\u003e\u003c![endif]\u003e\u003c![if !vml]\u003e\u003cimg width\u003d15 height\u003d16\r\nsrc\u003d\"file:///C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\msohtml1\\01\\clip_image012.gif\"\r\nv:shapes\u003d\"_x0000_i1036\"\u003e\u003c![endif]\u003e\u003c/span\u003e\u003cspan lang\u003dEN-US style\u003d\u0027font-family:\r\n\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-spacerun:yes\u0027\u003e \u003c/span\u003e\u003cspan style\u003d\u0027mso-element:\r\nfield-separator\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan lang\u003d\"EN-US\"\u003ea\u003c/span\u003e\n \u003c!--[if supportFields]\u003e\u003cspan\r\nlang\u003dEN-US style\u003d\u0027font-family:\"Courier New\"\u0027\u003e\u003cspan style\u003d\u0027mso-element:field-end\u0027\u003e\u003c/span\u003e\u003c/span\u003e\u003c![endif]--\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e就是颜色\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003eb\u003c/span\u003e\u003cspan style\u003d\"font-family:宋体;\r\nmso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;\r\nmso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e,那么他们在数苹果的颜色时,如果既出现了颜色\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003ea\u003c/span\u003e\u003cspan style\u003d\"font-family:\r\n宋体;mso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;\r\nmso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e的苹果,又出现了颜色\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003eb\u003c/span\u003e\u003cspan style\u003d\"font-family:宋体;\r\nmso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;\r\nmso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e的苹果,这个人只会算入颜色\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003eb\u003c/span\u003e\u003cspan style\u003d\"font-family:宋体;\r\nmso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;\r\nmso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e,而不会把颜色\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003ea\u003c/span\u003e\u003cspan style\u003d\"font-family:宋体;\r\nmso-ascii-font-family:\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;\r\nmso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e算进来。\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003e\n \u003co:p\u003e\u003c/o:p\u003e\u003c/span\u003e\u003c/p\u003e \n\u003cp class\u003d\"MsoNormal\" align\u003d\"left\" style\u003d\"text-indent: 21.2pt;\"\u003e\u003cspan style\u003d\"font-family:宋体;mso-ascii-font-family:\r\n\u0026quot;Courier New\u0026quot;;mso-hansi-font-family:\u0026quot;Courier New\u0026quot;;mso-bidi-font-family:\u0026quot;Courier New\u0026quot;\"\u003e神犇是一个好人,他不会强人所难,也就会接受由于色盲症导致的答案错误(当然答案在色盲环境下也必须是正确的)。不过这样神犇也就要更改他原先数颜色的程序了。虽然这对于神犇来说是小菜一碟,但是他想考验一下你。你能替神犇完成这项任务吗?\u003c/span\u003e\u003cspan lang\u003d\"EN-US\" style\u003d\"font-family:\u0026quot;Courier New\u0026quot;\"\u003e\n \u003co:p\u003e\u003c/o:p\u003e\u003c/span\u003e\u003c/p\u003e \n\u003cp class\u003d\"MsoNormal\" align\u003d\"left\" style\u003d\"text-indent: 21.2pt;\"\u003e\u003c/p\u003e \n\u003cp\u003e\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv\u003e\n 输入第一行为两个整数n和m,分别代表树上苹果的个数和前来膜拜的人数。\n\u003c/div\u003e \n\u003cdiv\u003e\u003c/div\u003e \n\u003cdiv\u003e\n 接下来的一行包含n个数,第i个数代表编号为i的苹果的颜色Coli。\n\u003c/div\u003e \n\u003cdiv\u003e\u003c/div\u003e \n\u003cdiv\u003e\n 接下来有n行,每行包含两个数x和y,代表有一根树枝连接了苹果x和y(或者根和一个苹果)。\n\u003c/div\u003e \n\u003cdiv\u003e\u003c/div\u003e \n\u003cdiv\u003e\n 接下来有m行,每行包含四个整数u、v、a和b,代表这个人要数苹果u到苹果v的颜色种数,同时这个人认为颜色a就是颜色b。如果a\u003db\u003d0,则代表这个人没有患色盲症。\n\u003c/div\u003e \n\u003cp\u003e\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e输出一共m行,每行仅包含一个整数,代表这个人应该数出的颜色种数。\u003c/p\u003e \n\u003cp\u003e\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cspan class\u003dsampledata\u003e5 3\r\n1 1 3 3 2\r\n0 1\r\n1 2\r\n1 3\r\n2 4\r\n3 5\r\n1 4 0 0\r\n1 4 1 3\r\n1 4 1 2 \r\n\u003c/span\u003e\u003c/div\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cspan class\u003dsampledata\u003e2\r\n1\r\n2\r\n\u003c/span\u003e\u003c/div\u003e"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cp\u003e\u003c/p\u003e\n\u003cdiv\u003e\n 0\u0026lt;\u003dx,y,a,b\u0026lt;\u003dN\n\u003c/div\u003e\n\u003cbr\u003e \n\u003cdiv\u003e\n N\u0026lt;\u003d50000\n\u003c/div\u003e\n\u003cbr\u003e \n\u003cdiv\u003e\n 1\u0026lt;\u003dU,V,Coli\u0026lt;\u003dN\n\u003c/div\u003e\n\u003cbr\u003e \n\u003cdiv\u003e\n \u003cspan style\u003d\"font-family: arial, verdana, helvetica, sans-serif; font-size: medium;\"\u003eM\u0026lt;\u003d100000\u003c/span\u003e\n\u003c/div\u003e\n\u003cbr\u003e \n\u003cdiv\u003e\n \u003cspan style\u003d\"color: rgb(255, 0, 0);\"\u003e此题存在版权,故不再支持提交,保留在此只供大家参考题面! 望见谅!\u003c/span\u003e\n\u003c/div\u003e\n\u003cbr\u003e \n\u003cp\u003e\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e"}}]}