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

100099
094683
133534
292824
895845
052296
112171
5257397
8266368
81940
332379
3685301
1856749
7568520
7679588
70323
7069715
4673337
4733285
9520500
5856661
4464807
9569353
433588
247143
369094
4962428
3639593
2368416
3622654
1794613
7158841
6594771
5948801
8196661
2611323
5086727
5720703
9454755
958583
632289
8669448
1584272
6246830
1167794
169341
1092306
4239106
8675564
4317702
9941775
8657445
6229262
3132549
374584
3170755
8030551
031105
5260410
7363722
766646
4049789
563730
2555517
446167
7144250
69595
1974266
4282984
9574242
333350
1096730
4793721
7053275
5436998
800561
2356836
9318618
6470200
75820
9645844
9964351
1459636
5758929
919970
770612
5619788
3079835
7794289
7788567
116048
3599786
183889
2591211
5075795
8917940
5797551
1144426
6291930
5662341
7079129
44069
9271842
9068911
2784144
6797699
6943197
39061
7914971
9790385
5292278
246132
215494
3593886
4373582
7554981
4360135
6781792
362183
6858732
2123902
6738732
233186
711823
1456109
9621422
8850496
8654828
8435725
2822658
903917
2827121
306883
2041

JOJ Answer

Shortest path length is 54
The graph is not a DAG
The total weight of MST is 724