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.
Please double check your code to solve this problem and try again.
Your Answer
Invalid graph. Exiting. -9541 -8440 -3618 -4272 -2496 -2960 -2877 -8934 -3960 -8601 -3735 -2357 -4938 -10628 -3853 -8223 -4020 -8488 -3704 -2863 -10142 -3776 -2985 -5658 -3706 -3326 -1049 -5522 -7430 -4176 -6508 -6401 -10074 -3757 -6638 -3661 -3485 -3597 -7380 -4113 -9173 -2761 -3914 -8611 -4744 -4867 -3699 -3665 -3411 -1350 -4554 -4687 -5060 -5317 -6388 -4956 -2743 -2956 -5066 -2506 -8632 -4079 -2251 -7884 -3378 -4152 -10023 -3383 -2569 -3959 -1969 -13405 -3846 -3895 -2237 -1275 -2173 -6999 -5616 -5662 539 -2564 -4360 -4122 -3388 -2995 -3999 -3593 -6404 -3683 -1066 -3254 -4000 -6228 -6420 -3600 -4365 -3987 -2723 -3810 -3988 -3106 -3608 -5831 -4730 -7235 -3233 -4077 -5035 -4079 -6110 -6058 -2635 -2097 -8065 -4331 -6007 -2734 -8364 -3667 -2450 -4184 -12820 -7397 -2868 -2485 -2636 -2257 -4741 -4442 -8227 -5145 -3935 -9726 -5896 -3552 -5487 -6610 -3375 -6980 -3055 -6940 -3897 -3120 -4870 -4148 -4514 -1848 -3678 -7534 -4396 -5339 -4641 -1778 -5025 -8381 -3862 -2136 -3035 -8915 -4818 -6892 -2814 -3883 -11325 -7187
JOJ Answer
Invalid graph. Exiting.