diff --git a/4077_net/Readme.md b/4077_net/Readme.md new file mode 100644 index 0000000..b4f8d75 --- /dev/null +++ b/4077_net/Readme.md @@ -0,0 +1,3 @@ +# 标题 + +* 内容 \ No newline at end of file diff --git a/4077_net/doc/Readme.md b/4077_net/doc/Readme.md new file mode 100644 index 0000000..b4f8d75 --- /dev/null +++ b/4077_net/doc/Readme.md @@ -0,0 +1,3 @@ +# 标题 + +* 内容 \ No newline at end of file diff --git a/4077_net/doc/绀惧尯缃戠粶.pdf b/4077_net/doc/绀惧尯缃戠粶.pdf new file mode 100644 index 0000000..1983c8d Binary files /dev/null and b/4077_net/doc/绀惧尯缃戠粶.pdf differ diff --git a/4077_net/main.cpp b/4077_net/main.cpp new file mode 100644 index 0000000..f39ad54 --- /dev/null +++ b/4077_net/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() +{ + std::cout << "Hello Easy C++ project!" << std::endl; +} diff --git a/4077_net/main.exe b/4077_net/main.exe new file mode 100644 index 0000000..fc4df42 Binary files /dev/null and b/4077_net/main.exe differ diff --git a/4077_net/net.cpp b/4077_net/net.cpp new file mode 100644 index 0000000..b96662c --- /dev/null +++ b/4077_net/net.cpp @@ -0,0 +1,84 @@ +#include +using namespace std; +int n, now = 0, m, e[100001][2] = { 0 }, g[100001] = { 0 }, p[100001][4] = { 0 }; +int mins(int a, int b) +{ + return a < b ? a : b; +} +int maxs(int a, int b) +{ + return a > b ? a : b; +} +void party(int a, int b) +{ + // cout << a << " " << b << ":"; + if (g[a] == 0 && g[b] == 0) { + g[a] = ++now; + g[b] = now; + int a0 = e[a][0], b0 = e[b][0], a1 = e[a][1], b1 = e[b][1]; + p[now][0] = mins(a0, b0); + p[now][1] = mins(a1, b1); + p[now][2] = maxs(a0, b0); + p[now][3] = maxs(a1, b1); + } else { + while (p[g[a]][0] == -1) { + a = p[g[a]][3]; + } + while (p[g[b]][0] == -1) { + b = p[g[b]][3]; + } + if (g[a] > g[b]) { + int o = a; + a = b; + b = o; + } + /*cout << g[a] << "?"; + cout << g[b] << "?" << endl;*/ + if (g[a] == 0) { + g[a] = g[b]; + int a0 = e[a][0], a1 = e[a][1]; + p[g[b]][0] = mins(a0, p[g[b]][0]); + p[g[b]][1] = mins(a1, p[g[b]][1]); + p[g[b]][2] = maxs(a0, p[g[b]][2]); + p[g[b]][3] = maxs(a1, p[g[b]][3]); + } else { + if (g[a] != g[b]) { + p[g[b]][0] = mins(p[g[a]][0], p[g[b]][0]); + p[g[b]][1] = mins(p[g[a]][1], p[g[b]][1]); + p[g[b]][2] = maxs(p[g[a]][2], p[g[b]][2]); + p[g[b]][3] = maxs(p[g[a]][3], p[g[b]][3]); + p[g[a]][0] = -1, p[g[a]][3] = b; + } + } + }/* + for (int i = 0; i <= 3; i++) { + cout << p[g[a]][i] << " "; + } + cout << endl; + for (int i = 0; i <= 3; i++) { + cout << p[g[b]][i] << " "; + } + cout << endl;*/ +} +int main() +{ + cin >> n >> m; + for (int i = 1; i <= n; i++) { + cin >> e[i][0] >> e[i][1]; + } + for (int i = 1; i <= m; i++) { + int yi, er; + cin >> yi >> er; + //cout << i << "||"; + party(yi, er); + } + int ans = 400000000; + for (int i = 1; i <= now; i++) { + if (p[i][0] != -1) { + int zhou = p[i][2] - p[i][0] + p[i][3] - p[i][1]; + ans = mins(zhou * 2, ans); + } + } + cout << ans; + max() +} \ No newline at end of file diff --git a/4077_net/net.exe b/4077_net/net.exe new file mode 100644 index 0000000..6da36d0 Binary files /dev/null and b/4077_net/net.exe differ diff --git a/4077_net/net2.cpp b/4077_net/net2.cpp new file mode 100644 index 0000000..f9e67f0 --- /dev/null +++ b/4077_net/net2.cpp @@ -0,0 +1,83 @@ +#include +using namespace std; +int n, now = 0, m, e[100001][2] = { 0 }, g[100001] = { 0 }, p[100001][4] = { 0 }; +int mins(int a, int b) +{ + return a < b ? a : b; +} +int maxs(int a, int b) +{ + return a > b ? a : b; +} +void party(int a, int b) +{ + //cout << a << " " << b << ":"; + if (g[a] == 0 && g[b] == 0) { + g[a] = ++now; + g[b] = now; + int a0 = e[a][0], b0 = e[b][0], a1 = e[a][1], b1 = e[b][1]; + p[now][0] = mins(a0, b0); + p[now][1] = mins(a1, b1); + p[now][2] = maxs(a0, b0); + p[now][3] = maxs(a1, b1); + } else { + while (p[g[a]][0] == -1) { + a = p[g[a]][3]; + } + while (p[g[b]][0] == -1) { + b = p[g[b]][3]; + } + if (g[a] > g[b]) { + int o = a; + a = b; + b = o; + } + //cout << g[a] << "?"; + //cout << g[b] << "?" << endl; + if (g[a] == 0) { + g[a] = g[b]; + int a0 = e[a][0], a1 = e[a][1]; + p[g[b]][0] = mins(a0, p[g[b]][0]); + p[g[b]][1] = mins(a1, p[g[b]][1]); + p[g[b]][2] = maxs(a0, p[g[b]][2]); + p[g[b]][3] = maxs(a1, p[g[b]][3]); + } else { + if (g[a] != g[b]) { + p[g[b]][0] = mins(p[g[a]][0], p[g[b]][0]); + p[g[b]][1] = mins(p[g[a]][1], p[g[b]][1]); + p[g[b]][2] = maxs(p[g[b]][2], p[g[b]][2]); + p[g[b]][3] = maxs(p[g[b]][3], p[g[b]][3]); + p[g[a]][0] = -1, p[g[a]][3] = b; + } + } + }/* + for (int i = 0; i <= 3; i++) { + cout << p[g[a]][i] << " "; + } + cout << endl; + for (int i = 0; i <= 3; i++) { + cout << p[g[b]][i] << " "; + } + cout << endl;*/ +} +int main() +{ + cin >> n; + for (int i = 1; i <= n; i++) { + cin >> e[i][0] >> e[i][1]; + } + for (int i = 1; i <= m; i++) { + int yi, er; + cin >> yi >> er; + //cout << i << "||"; + party(yi, er); + } + int ans = 400000000; + for (int i = 1; i <= now; i++) { + if (p[i][0] != -1) { + int zhou = p[i][2] - p[i][0] + p[i][3] - p[i][1]; + ans = mins(zhou * 2, ans); + } + } + cout << ans; +} \ No newline at end of file diff --git a/4077_net/test/In1 (15).txt b/4077_net/test/In1 (15).txt new file mode 100644 index 0000000..7e0029f --- /dev/null +++ b/4077_net/test/In1 (15).txt @@ -0,0 +1,1101 @@ +100 1000 +56297539 36140795 +63480570 40651434 +75960378 17097467 +92066601 76710097 +27612902 30573317 +3570492 87926652 +60260756 59997301 +85560280 2724286 +93209441 94953865 +94429689 64228444 +47346619 21558440 +70744729 63958031 +33108117 14738097 +7905771 69834481 +22890675 10120709 +91698927 31704567 +98777856 55179497 +24872353 27254586 +72276965 69455306 +3964683 52406219 +28624 60051528 +40332871 12805732 +20048829 78409503 +15530019 13258270 +73363368 9959708 +77486715 73226340 +31518149 747796 +89700723 17142618 +68002245 50122846 +39493451 90892921 +60243555 31192379 +22597488 11537764 +38888228 47469841 +38792350 11165193 +69441500 42757034 +16087764 69470124 +55324914 8936987 +82275856 75373743 +87346491 50322227 +41148365 60709859 +60281936 71151432 +86452551 44316437 +71899228 76153275 +13975407 39901474 +26276121 53468858 +30794395 39036029 +84661237 5908235 +50573793 76065818 +5894428 89366143 +87231011 75335928 +84639529 3318776 +97322404 39964443 +12255763 32114613 +67854538 52118606 +82436840 9002904 +65344818 95235128 +32670688 51797369 +92067917 4569917 +80466996 6043324 +96987743 59259470 +59512183 80298490 +98295499 96689772 +86206725 1385644 +72755590 44617505 +43268139 12502954 +72469786 27907669 +68338082 22308542 +20388464 33110197 +6939507 40759355 +85228804 89376348 +2278611 50573622 +37127828 34949299 +54887343 29195746 +92035568 35354340 +87755422 89023311 +94613810 47267605 +69321801 45425661 +96473730 8044878 +46811305 69229320 +5178736 90079444 +34248626 77648522 +70503465 2586708 +52473416 43408282 +88213258 59412924 +84167637 73442062 +1305624 38962600 +76532036 38433452 +73911899 31419379 +20145550 65947468 +19290071 7900973 +7487131 13903881 +7684930 76808933 +11845894 4158660 +37370163 58657199 +73387981 42548899 +1252996 60152959 +72713773 24272813 +62739668 25187190 +67681095 50952926 +37116466 4365084 +93 52 +12 70 +25 36 +18 37 +27 99 +68 40 +84 3 +76 57 +60 19 +33 41 +92 87 +58 13 +15 43 +28 63 +64 59 +31 97 +14 69 +4 88 +72 65 +10 23 +67 81 +21 80 +90 82 +74 1 +95 42 +89 29 +53 44 +17 61 +50 8 +85 73 +30 62 +7 46 +54 77 +9 34 +38 16 +26 56 +71 32 +83 48 +49 11 +91 35 +24 75 +78 20 +86 45 +94 55 +98 2 +39 96 +5 22 +100 6 +79 66 +51 47 +41 91 +85 77 +43 37 +8 46 +57 80 +19 88 +13 49 +73 60 +10 37 +11 43 +88 7 +2 14 +73 22 +56 20 +100 22 +5 40 +12 41 +68 6 +29 28 +51 85 +59 21 +25 23 +70 97 +82 31 +85 93 +73 73 +51 26 +86 23 +100 41 +43 99 +14 99 +91 25 +91 10 +82 20 +37 33 +56 95 +5 80 +70 74 +77 51 +56 61 +43 80 +85 94 +6 22 +68 5 +14 62 +55 27 +60 45 +3 3 +7 85 +22 43 +69 29 +90 73 +9 59 +99 37 +9 54 +49 4 +34 34 +49 91 +55 68 +47 69 +30 1 +47 89 +98 50 +91 4 +34 64 +98 54 +93 87 +26 53 +97 76 +89 58 +30 37 +61 15 +22 61 +5 29 +28 51 +49 57 +3 95 +98 100 +44 40 +3 29 +4 1 +82 48 +39 60 +52 36 +35 40 +93 16 +28 5 +30 50 +65 86 +30 44 +36 78 +1 39 +72 50 +90 68 +89 93 +96 44 +45 30 +91 83 +41 42 +70 27 +33 62 +43 61 +18 24 +62 82 +26 97 +68 78 +27 25 +58 15 +69 6 +59 13 +87 1 +47 27 +95 17 +53 79 +30 47 +91 48 +71 52 +81 32 +94 58 +28 13 +87 15 +56 13 +91 13 +80 11 +70 90 +75 56 +42 21 +34 88 +89 39 +67 71 +85 57 +18 7 +61 50 +38 6 +60 18 +19 46 +84 74 +59 74 +38 90 +84 8 +79 58 +15 72 +39 26 +89 75 +34 58 +82 94 +59 71 +100 18 +40 70 +64 23 +95 74 +48 32 +63 83 +91 93 +92 58 +16 22 +58 75 +92 48 +52 32 +22 38 +41 55 +31 99 +26 82 +17 17 +3 32 +40 97 +5 39 +81 19 +22 71 +63 13 +80 78 +86 37 +5 77 +60 58 +45 100 +12 28 +51 37 +61 19 +6 64 +50 45 +12 6 +35 92 +76 56 +15 90 +69 94 +19 6 +83 23 +83 18 +31 94 +75 27 +94 87 +54 44 +75 15 +14 80 +78 63 +76 89 +20 11 +33 95 +18 47 +36 38 +92 54 +44 74 +29 26 +92 11 +19 18 +37 64 +56 91 +59 31 +5 72 +62 34 +86 90 +74 5 +52 6 +51 69 +4 86 +7 96 +40 50 +21 68 +27 64 +78 97 +82 66 +61 37 +56 71 +19 12 +43 33 +97 80 +28 35 +41 84 +73 99 +31 64 +48 51 +31 74 +15 60 +23 48 +25 83 +36 33 +5 55 +44 99 +87 41 +79 60 +63 63 +84 42 +49 24 +25 73 +23 55 +36 22 +58 66 +48 72 +77 70 +19 2 +4 54 +34 8 +60 29 +7 98 +21 85 +9 35 +99 92 +77 99 +16 53 +72 90 +60 7 +11 17 +25 10 +40 1 +79 10 +54 82 +15 39 +90 27 +68 48 +24 88 +32 33 +23 82 +76 51 +80 91 +55 51 +32 14 +58 95 +82 82 +4 21 +34 83 +82 88 +16 97 +26 5 +23 93 +52 98 +33 35 +82 7 +16 58 +9 96 +100 63 +98 84 +77 55 +78 10 +88 33 +83 22 +67 64 +61 83 +12 86 +87 86 +31 91 +84 15 +77 17 +21 93 +40 26 +91 37 +44 38 +29 83 +22 11 +56 89 +26 16 +71 38 +23 84 +51 58 +98 28 +72 52 +50 11 +29 40 +99 89 +11 94 +78 91 +77 100 +53 32 +88 78 +100 58 +67 53 +18 42 +36 69 +99 85 +96 77 +6 67 +29 55 +29 9 +94 79 +98 56 +73 75 +46 1 +26 98 +84 13 +28 83 +22 94 +35 22 +60 86 +58 55 +62 63 +73 42 +17 53 +51 63 +83 100 +18 55 +74 16 +7 52 +65 91 +64 92 +73 38 +38 60 +29 72 +81 88 +57 91 +42 71 +53 66 +18 62 +84 52 +13 1 +7 39 +68 65 +90 33 +76 80 +42 13 +39 70 +37 71 +57 45 +15 66 +15 27 +87 84 +36 53 +91 90 +10 32 +74 65 +36 49 +96 78 +14 34 +99 50 +56 56 +57 61 +34 24 +87 72 +59 78 +41 46 +91 24 +51 1 +55 76 +65 43 +25 60 +20 90 +45 70 +39 52 +77 84 +20 34 +44 5 +57 82 +76 67 +12 68 +13 93 +30 3 +69 32 +3 75 +8 19 +17 84 +73 74 +58 63 +26 34 +98 97 +19 42 +54 27 +75 81 +94 86 +49 6 +31 30 +60 99 +61 63 +25 20 +81 42 +3 11 +81 27 +84 90 +41 9 +24 39 +32 11 +21 6 +91 14 +92 39 +68 30 +72 81 +100 25 +89 55 +87 70 +33 70 +11 74 +31 34 +64 88 +80 95 +50 100 +52 40 +31 87 +16 50 +16 87 +82 12 +35 34 +88 23 +88 74 +44 20 +43 55 +45 25 +40 60 +64 19 +54 13 +70 6 +5 34 +100 35 +20 16 +36 88 +54 70 +51 88 +3 38 +63 90 +11 6 +61 5 +12 58 +30 4 +17 93 +22 23 +6 44 +80 62 +29 79 +48 1 +46 83 +88 100 +52 90 +87 54 +27 49 +95 37 +7 8 +93 18 +65 22 +21 81 +67 95 +55 24 +38 34 +85 18 +13 32 +18 10 +66 57 +9 70 +46 96 +23 72 +96 70 +60 2 +77 53 +72 41 +26 44 +73 92 +90 28 +67 79 +13 51 +97 25 +87 100 +71 95 +69 16 +42 43 +40 38 +64 99 +91 40 +3 14 +32 29 +58 5 +72 47 +84 39 +26 96 +41 22 +73 27 +35 59 +26 57 +53 46 +73 47 +40 12 +84 4 +62 26 +43 17 +40 75 +45 97 +31 68 +95 14 +58 20 +61 51 +93 33 +77 80 +91 54 +36 96 +99 8 +42 38 +71 77 +41 85 +2 84 +1 93 +10 97 +41 40 +64 36 +7 65 +24 52 +50 52 +31 40 +5 66 +87 3 +26 80 +8 85 +32 62 +20 32 +54 29 +28 95 +82 24 +69 88 +95 21 +81 99 +87 19 +53 64 +99 96 +67 99 +26 73 +79 54 +67 98 +49 48 +73 17 +87 13 +60 78 +1 54 +98 33 +4 36 +52 8 +55 62 +7 35 +4 26 +85 29 +98 64 +34 16 +61 82 +15 86 +98 1 +98 9 +35 17 +76 66 +27 93 +17 30 +70 53 +10 67 +16 96 +34 29 +77 48 +14 27 +1 63 +87 30 +64 1 +17 76 +83 45 +41 21 +27 19 +66 95 +47 9 +54 63 +4 87 +35 8 +11 35 +16 85 +83 66 +52 17 +62 44 +38 88 +62 3 +89 80 +94 25 +29 36 +9 63 +43 71 +97 64 +67 12 +1 16 +88 35 +33 91 +51 94 +34 40 +81 95 +94 14 +55 83 +45 76 +52 52 +74 12 +66 69 +82 14 +84 100 +15 65 +70 47 +8 73 +92 41 +12 24 +88 58 +37 94 +40 82 +21 15 +72 72 +19 97 +35 84 +68 75 +36 34 +91 58 +33 50 +30 24 +48 30 +50 36 +23 41 +69 44 +56 40 +67 26 +37 54 +61 53 +21 58 +5 88 +22 27 +98 6 +28 79 +29 70 +71 28 +99 21 +64 22 +61 84 +17 68 +24 83 +93 12 +36 54 +64 9 +63 69 +61 69 +77 10 +74 4 +88 55 +74 58 +30 97 +45 43 +81 13 +10 56 +48 55 +67 35 +60 82 +43 74 +2 39 +72 14 +59 100 +23 85 +56 62 +91 81 +72 24 +21 1 +43 53 +13 5 +8 60 +59 26 +95 18 +59 37 +91 61 +74 38 +66 49 +22 21 +10 64 +1 33 +87 5 +34 59 +57 28 +11 69 +32 70 +29 42 +47 75 +59 6 +11 2 +66 90 +68 91 +27 33 +39 100 +6 1 +33 49 +8 70 +98 70 +39 29 +40 19 +71 86 +93 81 +44 1 +51 22 +86 89 +21 91 +41 35 +48 26 +84 62 +95 43 +31 92 +64 21 +21 55 +39 43 +93 31 +23 35 +86 9 +9 45 +3 46 +88 26 +58 36 +3 93 +49 97 +41 50 +52 13 +57 90 +55 49 +73 29 +83 58 +89 77 +38 98 +21 40 +95 6 +15 83 +70 37 +16 18 +85 54 +37 11 +93 43 +59 65 +24 42 +22 12 +70 11 +3 56 +48 17 +40 59 +76 2 +12 75 +78 67 +62 35 +34 37 +28 7 +40 71 +68 87 +87 9 +67 37 +36 94 +38 47 +20 68 +13 97 +18 96 +75 51 +9 31 +52 26 +43 91 +48 62 +77 35 +89 62 +97 75 +2 15 +83 26 +3 78 +24 50 +91 52 +36 61 +47 100 +29 90 +14 77 +91 85 +95 60 +37 77 +85 72 +10 39 +1 85 +36 76 +51 82 +27 51 +63 29 +79 65 +80 59 +54 45 +35 70 +12 78 +6 58 +35 73 +66 96 +11 66 +8 68 +77 59 +2 3 +61 64 +83 39 +28 15 +97 34 +55 70 +28 96 +68 19 +61 30 +36 93 +32 44 +13 8 +54 14 +63 14 +29 97 +52 57 +11 100 +42 70 +82 96 +37 9 +83 5 +27 96 +34 15 +88 65 +58 52 +25 11 +65 39 +24 94 +35 27 +2 46 +26 95 +67 7 +48 96 +27 85 +4 61 +41 83 +56 74 +49 96 +91 6 +47 67 +68 64 +5 91 +9 91 +69 62 +56 2 +52 45 +11 52 +92 89 +36 48 +49 76 +52 43 +35 50 +61 2 +65 65 +44 73 +56 12 +34 43 +57 41 +97 60 +11 29 +47 98 +76 95 +25 57 +86 54 +20 72 +56 81 +97 68 +45 4 +47 87 +46 59 +53 9 +87 99 +6 14 +45 31 +22 48 +8 59 +1 79 +30 8 +59 54 +80 8 +73 76 +5 9 +41 27 +86 7 +47 24 +5 52 +38 2 +34 11 +49 93 +70 1 +72 51 +9 82 +57 88 +63 52 +84 19 +60 24 +46 15 +62 83 +58 30 +12 95 +38 27 +79 61 +29 87 +42 85 +66 40 +34 49 +59 45 +24 56 +11 86 +45 47 +94 43 +21 90 +29 51 +50 57 +38 43 +42 15 +25 59 +55 10 +55 82 +20 17 diff --git a/4077_net/test/In2 (7).txt b/4077_net/test/In2 (7).txt new file mode 100644 index 0000000..6ecfe42 --- /dev/null +++ b/4077_net/test/In2 (7).txt @@ -0,0 +1,151 @@ +100 50 +68021018 99633766 +14500838 58854042 +51450250 22802942 +54784284 18930959 +21608488 37654461 +6765135 61922596 +44788924 92771206 +31083598 42699356 +18500113 22304435 +85952847 8403454 +15419962 49580744 +20432110 68534702 +34457257 57262432 +73177440 80869451 +97611886 29695171 +94836299 65632904 +81845289 61853489 +24486946 33295539 +37172784 31787582 +4742850 58781272 +69442043 11507986 +20703868 66747319 +4279192 4303818 +9446676 75295657 +26608253 47915875 +36215463 42028215 +97496619 9163925 +63079269 31953877 +18942709 36256709 +65339680 16554595 +18468232 12692331 +82187500 313522 +74545820 6674446 +86125413 64234956 +38462029 90868264 +23016228 60420424 +2376250 96236448 +27167744 59171794 +53056618 89130772 +86983804 79664872 +37046647 23199267 +74209439 87059619 +32363193 37288709 +71529848 3822254 +26061770 36869528 +20376850 97046355 +49561859 2564350 +49876229 76624031 +61755148 36001642 +40858988 217177 +26869906 16391568 +13153954 81762508 +65144369 40321698 +40934303 18200987 +29452470 27918107 +50382211 19015469 +3633726 77108003 +58591440 88513271 +66913064 30121288 +92335526 45491186 +66990816 12712376 +42537541 69069027 +67793078 44930122 +45693059 29548226 +80931765 39068399 +29765404 60318023 +55459967 42919358 +42080532 73120688 +35757408 35531187 +91321676 17726230 +63449294 94220239 +89258051 19599372 +71328242 47849492 +8112644 38241306 +77970780 52964522 +83732493 97477949 +65676898 78786386 +19063328 33469976 +23716509 64756387 +63018202 57164626 +56341138 45299958 +17482649 64317458 +40735668 59563181 +37438146 29009428 +47610720 81276174 +46735658 11060014 +75496414 88510062 +83175739 46824656 +36359554 43804735 +37582315 14330334 +96769257 73831160 +64324635 14962507 +52617546 83387964 +48432483 76334055 +660703 63967037 +86015033 57001842 +61783348 3497683 +21319300 55035368 +15577216 58757446 +36561149 63187937 +73 82 +64 78 +90 44 +18 9 +41 42 +76 43 +25 89 +63 87 +33 22 +99 88 +16 61 +58 26 +70 49 +35 12 +45 62 +72 71 +21 28 +84 8 +32 30 +24 94 +6 93 +91 54 +86 95 +52 59 +100 38 +96 56 +75 65 +97 79 +77 68 +27 39 +69 4 +53 40 +80 51 +10 81 +47 83 +13 20 +92 5 +66 55 +11 37 +46 23 +14 29 +74 31 +15 34 +48 2 +60 57 +1 17 +3 7 +98 85 +50 19 +36 67 diff --git a/4077_net/test/in.txt b/4077_net/test/in.txt new file mode 100644 index 0000000..91cb76a --- /dev/null +++ b/4077_net/test/in.txt @@ -0,0 +1,8 @@ +3 2 + +6 7 +8 6 +8 4 + +1 2 +3 2 diff --git a/4077_net/test/in3.txt b/4077_net/test/in3.txt new file mode 100644 index 0000000..aa6b854 --- /dev/null +++ b/4077_net/test/in3.txt @@ -0,0 +1,14 @@ +5 6 + +1 3 +2 4 +5 6 +5 8 +6 8 + +1 2 +3 4 +5 2 +4 1 +2 4 +5 4 \ No newline at end of file diff --git a/4077_net/test/out.txt b/4077_net/test/out.txt new file mode 100644 index 0000000..c79405f --- /dev/null +++ b/4077_net/test/out.txt @@ -0,0 +1,24 @@ +## z:\Chao\src\4077_net\test\in.txt +2020/04/04 周六 12:33:42.43 +10 +----------------------------------------------- +Process exited after 240 ms with return value 0 + +## z:\Chao\src\4077_net\test\In1 (15).txt +2020/04/04 周六 12:33:42.43 +389382416 +----------------------------------------------- +Process exited after 120 ms with return value 0 + +## z:\Chao\src\4077_net\test\In2 (7).txt +2020/04/04 周六 12:33:42.43 +26819096 +----------------------------------------------- +Process exited after 110 ms with return value 0 + +## z:\Chao\src\4077_net\test\in3.txt +2020/04/04 周六 12:33:42.43 +20 +----------------------------------------------- +Process exited after 130 ms with return value 0 +