Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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

569 207 968
513 881 692
573 392 189
174 671 525
505 87 824
624 722 548
588 776 634
538 632 934
456 663 913
718 483 752
712 716 523
946 291 119
640 266 63
634 198 75
247 57 953
347 245 553
266 940 656
862 363 970
948 697 819
350 513 936
805 89 996
547 871 435
656 624 746
116 752 634
784 555 469
720 797 733
241 417 167
747 290 986
485 178 441
69 712 395
80 850 6
95 898 910
111 835 910
578 634 107
127 0 810
204 237 551
659 546 133
774 471 113
770 775 297
778 363 713
547 441 742
48 729 141
871 506 136
243 8 599
634 886 653
330 821 838
876 217 380
231 967 961
589 833 971
456 682 355
682 401 987
446 344 40
733 414 913
549 80 381
869 588 981
504 134 311
5 833 186
512 38 733
409 687 105
639 856 934
469 918 496
928 323 123
560 462 863
861 558 365
584 862 563
112 844 17
776 965 963
832 620 437
612 242 721
206 779 960
853 788 629
277 333 733
289 90 885
922 258 165
411 160 804
246 452 558
47 322 708
778 615 404
123 508 486
318 11 115
49 712 33
721 683 163
987 584 215
741 321 504
567 308 693
592 33 536
215 806 209
491 477

JOJ Answer

Shortest path length is 861
The graph is not a DAG
The total weight of MST is 60952