Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
总共 739 个vertice 375657 条edge 0 1 1735 0 2 1508 0 3 299 0 4 559 0 5 4537 0 6 12 0 7 4530 0 10 4150 0 11 3303 0 12 1146 0 14 508 0 15 1411 0 17 103 0 18 2788 0 19 956 0 20 2048 0 22 3586 0 23 449 0 25 3061 0 26 3986 0 28 3797 0 29 562 0 30 4771 0 33 524 0 34 2191 0 35 4341 0 36 4589 0 37 232 0 38 3037 0 39 2198 0 40 1897 0 42 2591 0 44 1821 0 45 4306 0 47 1677 0 48 1656 0 51 249 0 52 291 0 53 2136 0 55 4700 0 56 4514 0 58 1328 0 59 3888 0 61 2865 0 62 3255 0 63 3136 0 64 3735 0 65 219 0 66 4374 0 69 3228 0 71 1834 0 72 3574 0 73 4250 0 75 1039 0 77 3898 0 79 4601 0 81 4522 0 83 2789 0 84 3817 0 85 4790 0 86 1099 0 87 1369 0 88 1483 0 89 3713 0 90 4065 0 92 2670 0 93 347 0 94 354 0 95 3567 0 96 2533 0 97 2878 0 98 32 0 101 3244 0 102 4231 0 103 517 0 104 3377 0 105 4630 0 106 2509 0 107 1841 0 108 2884 0 109 4372 0 113 -411 0 116 1322 0 117 1800 0 118 4642 0 119 4345 0 120 3740 0 121 3803 0 122 3622 0 123 1759 0 124 3850 0 125 12 0 126 1724 0 127 3987 0 128 265 0 130 812 0 131 1962 0 132 3658 0 133 358
JOJ Answer
Invalid graph. Exiting.