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 Runtime Error. And the exit code of your program is 255, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Invalid graph. Exiting.
JOJ Answer
213 194 153 252 231 172 146 157 222 186 138 151 117 234 173 113 122 246 177 158 113 157 130 193 190 180 202 163 154 145 166 89 122 139 166 91 227 128 157 180 203 218 203 154 141 230 189 165 84 274 206 127 221 233 128 162 182 136 127 205 237 209 127 174 183 210 170 223 168 238 96 220 191 279 121 168 172 114 205 168 171 207 141 137 148 85 123 89 179 183 161 154 109 177 192 223 183 70 236 205 202 102 174 113 180 129 169 77 323 170 170 141 160 143 256 226 129 165 97 194 207 199 133 124 254 139 152 237 219 148 224 214 227 63 169 88 258 129 183 133 127 343 153 153 20 136 118 267 174 278 259 219 183 130 206 117 193 252 183 161 208 205 156 224 126 164 184 157 131 284 171 176 194 220 216 226 220 208 202 54 259 269 91 115 160 173 126 183 177 325 108 166 138 124 153 64 298 182 144 139 160 87 178 162 63 173 141 120 182 114 191 128 174 226 145 117 129 139 174 177 280 143 111 127 264 205 176 203 251 150 236 216 133 213 192 216 176 158 143 169 214 270 260 110 87 219 110 188 219 67 204 130 164 227 175 188 197 247 269 157 218