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
numNode: 231 numberEdge29298 0 1 -3754...0 3 4622...0 5 2199...0 8 -979...0 9 3335...0 11 -3203...0 12 -2952...0 16 -1016...0 17 2000...0 18 860...0 19 1411...0 20 1338...0 25 4087...0 26 -1158...0 29 -2544...0 30 3313...0 33 -2213...0 34 4612...0 37 -3509...0 41 630...0 43 4502...0 44 -357...0 45 -1653...0 46 -1683...0 50 3535...0 51 3387...0 52 -3625...0 53 -3302...0 57 -4695...0 58 2953...0 59 4219...0 60 4259...0 61 -2290...0 64 -2808...0 65 4236...0 66 73...0 67 -96...0 68 4360...0 69 -62...0 71 4187...0 72 4181...0 75 718...0 76 4632...0 77 79...0 82 -3864...0 87 2234...0 88 -293...0 92 3084...0 94 -2913...0 96 -1481...0 97 3905...0 98 -1008...0 99 906...0 100 47...0 101 -3810...0 102 4724...0 104 -2226...0 106 3798...0 107 -1363...0 109 -1117...0 110 -201...0 112 -2292...0 113 -622...0 115 -1118...0 118 -213...0 119 -655...0 120 2800...0 122 4407...0 123 1302...0 125 -656...0 126 49...0 127 -3552...0 128 4578...0 131 856...0 132 2162...0 134 -3418...0 139 -3818...0 140 -3929...0 141 -3551...0 143 4711.
JOJ Answer
Invalid graph. Exiting.