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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
50 102 15 51 103 21 51 104 29 52 105 0 52 106 12 53 107 16 53 108 0 54 109 20 54 110 4 55 111 11 55 112 18 56 113 25 56 114 2 57 115 23 57 116 3 58 117 22 58 118 12 59 119 25 59 120 23 60 121 17 60 122 27 61 123 6 61 124 0 62 125 28 62 126 18 63 127 24 63 128 2 64 129 25 64 130 29 65 131 19 65 132 20 66 133 28 66 134 6 67 135 8 67 136 21 68 137 27 68 138 18 69 139 22 69 140 14 70 141 5 70 142 22 71 143 24 71 144 14 72 145 23 72 146 23 73 147 4 73 148 23 74 149 11 74 150 11 75 151 10 75 152 8 76 153 14 76 154 13 77 155 25 77 156 15 78 157 3 78 158 28 79 159 22 79 160 24 80 161 19 80 162 22 81 163 0 81 164 18 82 165 16 82 166 21 83 167 1 83 168 9 84 169 26 84 170 0 85 171 18 85 172 1 86 173 8 86 174 18 87 175 29 87 176 21 88 177 4 88 178 7 89 179 13 89 180 6 90 181 22 90 182 29 91 183 13 91 184 4 92 185 27 92 186 29 93 187 21 93 188 15 94 189 1 94 190 8 95 191 6 95 192 12 96 193 24 96 194 16 97 195 18 97 196 8 98 197 5 98 198 28 99 199 7 Shortest path length is 110 The graph is a DAG The total weight of MST is
JOJ Answer
Shortest path length is 110 The graph is a DAG The total weight of MST is 2938