{"id":1212,"date":"2010-04-20T18:22:17","date_gmt":"2010-04-20T10:22:17","guid":{"rendered":"http:\/\/www.slyar.com\/blog\/?p=1212"},"modified":"2022-07-03T15:46:58","modified_gmt":"2022-07-03T22:46:58","slug":"poj-3268-cpp","status":"publish","type":"post","link":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html","title":{"rendered":"POJ 3268 Silver Cow Party C++\u7248"},"content":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a<span style=\"color: #0000ff;\">\u59dc\u5357(Slyar) <\/span>\u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (<a title=\"Slyar\" href=\"http:\/\/www.slyar.com\" target=\"_blank\" rel=\"noopener\">www.slyar.com<\/a>) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002<\/p>\n<p>Dijkstra(\u5355\u6e90\u6700\u77ed\u8def\u5f84)\u7b97\u6cd5\u7684\u5e94\u7528<\/p>\n<p><!--more--><\/p>\n<p><span style=\"color: #0000ff;\">Description<\/span><\/p>\n<p>One cow from each of N farms (1 \u2264 N \u2264 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 \u2264 X \u2264 N). A total of M (1 \u2264 M \u2264 100,000) unidirectional (one-way roads connects pairs of farms; road i requires Ti (1 \u2264 Ti \u2264 100) units of time to traverse.<\/p>\n<p>Each cow must walk to the party and, when the party is over, return to her farm. Each cow is lazy and thus picks an optimal route with the shortest time. A cow's return route might be different from her original route to the party since roads are one-way.<\/p>\n<p>Of all the cows, what is the longest amount of time a cow must spend walking to the party and back?<\/p>\n<p><span style=\"color: #0000ff;\">Input<\/span><\/p>\n<p>Line 1: Three space-separated integers, respectively: N, M, and X<br \/>\nLines 2..M+1: Line i+1 describes road i with three space-separated integers: Ai, Bi, and Ti. The described road runs from farm Ai to farm Bi, requiring Ti time units to traverse.<\/p>\n<p><span style=\"color: #0000ff;\">Output<\/span><\/p>\n<p>Line 1: One integer: the maximum of time any one cow must walk.<\/p>\n<p><span style=\"color: #0000ff;\">Sample Input<\/span><\/p>\n<p>4 8 2<br \/>\n1 2 4<br \/>\n1 3 2<br \/>\n1 4 7<br \/>\n2 1 1<br \/>\n2 3 5<br \/>\n3 1 2<br \/>\n3 4 4<br \/>\n4 2 3<\/p>\n<p><span style=\"color: #0000ff;\">Sample Output<\/span><\/p>\n<p>10<\/p>\n<p><span style=\"color: #ff0000;\">Slyar:\u9898\u76ee\u5927\u610f\u662f\u7ed9\u51fa\u4e00\u4e2a\u6709\u5411\u56fe\u7684\u5e26\u6743\u90bb\u63a5\u77e9\u9635\uff0c\u7136\u540e\u7ed9\u5b9a\u76ee\u6807\u8282\u70b9X\uff0c\u6c42\u51fa\u5176\u4f59\u7ed3\u70b9\u51fa\u53d1\u5230\u7ed3\u70b9X\u518d\u4eceX\u56de\u5230\u51fa\u53d1\u7ed3\u70b9\u7684\u6700\u77ed\u8def\u5f84\u548c\u4e2d\u6700\u5927\u7684\u90a3\u4e2a...=_=\u662f\u4e0d\u662f\u5f88\u6655\uff1f\u6655\u7684\u8bdd\u53bb\u770b\u82f1\u6587...<\/span><\/p>\n<p><span style=\"color: #ff0000;\">\u6069\uff0c\u6709\u5411\u56fe\uff0c\u5230X\u518d\u4eceX\u56de\u6765\uff0c\u4eceX\u56de\u6765\u7b80\u5355\uff0c\u4e00\u4e2aDijkstra\u5c31\u641e\u5b9a\uff0c\u5230X\u5c31\u6bd4\u8f83\u9ebb\u70e6\u4e86\uff0c\u4e00\u5f00\u59cb\u7528Flyod\u505a\uff0c\u7ed3\u679c\u8d85\u65f6...=_=\u540e\u6765\u53d1\u73b0\u53ea\u8981\u628a\u77e9\u9635\u8f6c\u7f6e\u4e00\u4e0b\u5c31\u597d\u4e86\uff0c\u8f6c\u7f6e\u4ee5\u540e\u5c31\u53c8\u76f8\u5f53\u4e8e\u4eceX\u51fa\u53d1\u4e86\uff0c\u518d\u6765\u4e00\u6b21Dijkstra\u641e\u5b9a...\u5f88\u597d\u7406\u89e3\u7684...<\/span><\/p>\n<pre lang=\"cpp\" line=\"1\">\r\n#include <iostream>\r\n\r\nusing namespace std;\r\n\r\nconst int N = 1010;\r\nconst int MAX = 1000001;\r\nint n, m;\r\nint map1[N][N];\r\nint map2[N][N];\r\nint dist1[N];\r\nint dist2[N];\r\n\r\n\/\/ dist[]\u8bb0\u5f55\u8282\u70b9x\u5230\u5176\u4f59\u5404\u70b9\u7684\u6700\u77ed\u8def\u5f84\u957f\u5ea6\r\nvoid dijkstra(int map[][N], int dist[], int x)\r\n{\r\n\tint u, min;\r\n\t\/\/ \u8bb0\u5f55\u8282\u70b9\u662f\u5426\u6c42\u89e3\u5b8c\u6bd5\r\n\tint visited[N] = {0};\r\n\t\/\/ \u8282\u70b9x\u5230\u81ea\u5df1\u7684\u8ddd\u79bb\u4e3a0\r\n\tdist[x] = 0;\r\n\t\/\/ \u6c42\u89e3\u5176\u4f59n-1\u4e2a\u8282\u70b9\u5230x\u7684\u6700\u77ed\u8def\u5f84\r\n\tfor (int i = 1; i <= n; i++)\r\n\t{\r\n\t\t\/\/ \u9009\u62e9\u4e0e\u5f53\u524d\u8282\u70b9\u76f8\u90bb\u4e14\u672a\u8bbf\u95ee\u7684\u8282\u70b9\u4e2d\u8ddd\u79bb\u6700\u77ed\u7684\u8282\u70b9u\r\n\t\tfor (int j = 1; j <= n; j++)\r\n\t\t{\r\n\t\t\tif (!visited[j] && dist[j] < min)\r\n\t\t\t{\r\n\t\t\t\tmin = dist[j];\r\n\t\t\t\tu = j;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\/\/ \u6807\u8bb0u\u5df2\u6c42\u89e3\r\n\t\tvisited[u] = 1;\r\n\t\t\/\/ \u6839\u636eu\u6765\u66f4\u65b0\u5176\u4f59\u8282\u70b9\r\n\t\tfor (int j = 1; j <= n; j++)\r\n\t\t{\r\n\t\t\tif (!visited[j] && dist[j] > dist[u] + map[u][j])\r\n\t\t\t{\r\n\t\t\t\tdist[j] = dist[u] + map[u][j];\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\nint main()\r\n{\r\n\tint ai, bi, ti, x;\r\n\tint ans = 0;\r\n\tcin >> n >> m >> x;\r\n\t\/\/\u521d\u59cb\u5316\r\n\tfor (int i = 1; i <= n; i++)\r\n\t{\r\n\t\tfor (int j = 1; j <= n; j++)\r\n\t\t{\r\n\t\t\tmap1[i][j] = MAX;\r\n\t\t\tmap2[i][j] = MAX;\r\n\t\t}\r\n\t\tdist1[i] = MAX;\r\n\t\tdist2[i] = MAX;\r\n\t}\r\n\t\/\/\u8bfb\u5165\u77e9\u9635\r\n\tfor (int i = 1; i <= m; i++)\r\n\t{\r\n\t\tcin >> ai >> bi >> ti;\r\n\t\tmap1[ai][bi] = ti;\r\n\t\tmap2[bi][ai] = ti;\r\n\t}\r\n\r\n\tdijkstra(map1, dist1, x);\r\n\tdijkstra(map2, dist2, x);\r\n\r\n\tfor (int i = 1; i <= n; i++)\r\n\t{\r\n\t\tif (ans < dist1[i] + dist2[i])\r\n\t\t{\r\n\t\t\tans = dist1[i] + dist2[i];\r\n\t\t}\r\n\t}\r\n\r\n\tcout << ans << endl;\r\n\treturn 0;\r\n}\r\n<\/pre>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"http:\/\/www.slyar.com\/blog\">Slyar Home<\/a> &raquo; <a href=\"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html\">POJ 3268 Silver Cow Party C++\u7248<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a\u59dc\u5357(Slyar) \u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (www.slyar.com) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002 Dijkstra(\u5355\u6e90\u6700\u77ed\u8def\u5f84)\u7b97\u6cd5\u7684\u5e94\u7528 \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aSlyar Home &raquo; POJ 3268 Silver Cow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1103],"tags":[1006],"class_list":["post-1212","post","type-post","status-publish","format-standard","hentry","category-acm-oj-solution","tag-poj"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"POJ 3268 Silver Cow Party C++\u7248\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Slyar\"\/>\n\t<meta name=\"keywords\" content=\"slyar,poj,pku,3268,silver cow party,c++,\u89e3\u9898\u62a5\u544a,\u9898\u89e3\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"zh_CN\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home\" \/>\n\t\t<meta property=\"og:description\" content=\"POJ 3268 Silver Cow Party C++\u7248\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-04-20T10:22:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-07-03T22:46:58+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home\" \/>\n\t\t<meta name=\"twitter:description\" content=\"POJ 3268 Silver Cow Party C++\u7248\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#article\",\"name\":\"POJ 3268 Silver Cow Party C++\\u7248 - Slyar Home\",\"headline\":\"POJ 3268 Silver Cow Party C++\\u7248\",\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"},\"datePublished\":\"2010-04-20T18:22:17-07:00\",\"dateModified\":\"2022-07-03T15:46:58-07:00\",\"inLanguage\":\"zh-CN\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#webpage\"},\"articleSection\":\"OJ\\u9898\\u89e3, POJ\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/acm-oj-solution#listItem\",\"name\":\"OJ\\u9898\\u89e3\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/acm-oj-solution#listItem\",\"position\":2,\"name\":\"OJ\\u9898\\u89e3\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/acm-oj-solution\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#listItem\",\"name\":\"POJ 3268 Silver Cow Party C++\\u7248\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#listItem\",\"position\":3,\"name\":\"POJ 3268 Silver Cow Party C++\\u7248\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/acm-oj-solution#listItem\",\"name\":\"OJ\\u9898\\u89e3\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#webpage\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html\",\"name\":\"POJ 3268 Silver Cow Party C++\\u7248 - Slyar Home\",\"description\":\"POJ 3268 Silver Cow Party C++\\u7248\",\"inLanguage\":\"zh-CN\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/poj-3268-cpp.html#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"datePublished\":\"2010-04-20T18:22:17-07:00\",\"dateModified\":\"2022-07-03T15:46:58-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"name\":\"Slyar Home\",\"description\":\"\\u8bb0\\u5f55\\u4e2a\\u4eba\\u751f\\u6d3b\",\"inLanguage\":\"zh-CN\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home","description":"POJ 3268 Silver Cow Party C++\u7248","canonical_url":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html","robots":"max-image-preview:large","keywords":"slyar,poj,pku,3268,silver cow party,c++,\u89e3\u9898\u62a5\u544a,\u9898\u89e3","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#article","name":"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home","headline":"POJ 3268 Silver Cow Party C++\u7248","author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"},"datePublished":"2010-04-20T18:22:17-07:00","dateModified":"2022-07-03T15:46:58-07:00","inLanguage":"zh-CN","commentCount":1,"mainEntityOfPage":{"@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#webpage"},"isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#webpage"},"articleSection":"OJ\u9898\u89e3, POJ"},{"@type":"BreadcrumbList","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","position":1,"name":"Home","item":"http:\/\/www.slyar.com\/blog\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/acm-oj-solution#listItem","name":"OJ\u9898\u89e3"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/acm-oj-solution#listItem","position":2,"name":"OJ\u9898\u89e3","item":"http:\/\/www.slyar.com\/blog\/category\/acm-oj-solution","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#listItem","name":"POJ 3268 Silver Cow Party C++\u7248"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#listItem","position":3,"name":"POJ 3268 Silver Cow Party C++\u7248","previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/acm-oj-solution#listItem","name":"OJ\u9898\u89e3"}}]},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/#person","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author","url":"http:\/\/www.slyar.com\/blog\/author\/slyar","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"WebPage","@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#webpage","url":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html","name":"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home","description":"POJ 3268 Silver Cow Party C++\u7248","inLanguage":"zh-CN","isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html#breadcrumblist"},"author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"creator":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"datePublished":"2010-04-20T18:22:17-07:00","dateModified":"2022-07-03T15:46:58-07:00"},{"@type":"WebSite","@id":"http:\/\/www.slyar.com\/blog\/#website","url":"http:\/\/www.slyar.com\/blog\/","name":"Slyar Home","description":"\u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","inLanguage":"zh-CN","publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"}}]},"og:locale":"zh_CN","og:site_name":"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","og:type":"article","og:title":"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home","og:description":"POJ 3268 Silver Cow Party C++\u7248","og:url":"http:\/\/www.slyar.com\/blog\/poj-3268-cpp.html","article:published_time":"2010-04-20T10:22:17+00:00","article:modified_time":"2022-07-03T22:46:58+00:00","twitter:card":"summary","twitter:title":"POJ 3268 Silver Cow Party C++\u7248 - Slyar Home","twitter:description":"POJ 3268 Silver Cow Party C++\u7248"},"aioseo_meta_data":{"post_id":"1212","title":"POJ 3268 Silver Cow Party C++\u7248 - #site_title","description":"POJ 3268 Silver Cow Party C++\u7248","keywords":[{"label":"slyar","value":"slyar"},{"label":"poj","value":"poj"},{"label":"pku","value":"pku"},{"label":"3268","value":"3268"},{"label":"Silver Cow Party","value":"Silver Cow Party"},{"label":"c++","value":"c++"},{"label":"\u89e3\u9898\u62a5\u544a","value":"\u89e3\u9898\u62a5\u544a"},{"label":"\u9898\u89e3","value":"\u9898\u89e3"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-10 02:44:47","updated":"2022-10-18 14:09:01","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"_links":{"self":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/comments?post=1212"}],"version-history":[{"count":1,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1212\/revisions"}],"predecessor-version":[{"id":8277,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1212\/revisions\/8277"}],"wp:attachment":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/media?parent=1212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/categories?post=1212"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/tags?post=1212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}