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

1009
7636
3857
5411
8928
5841
6218
2184
360
9021
6931
7072
741
2842
6373
2375
0897
1693
3223
3124
6720
7954
5158
142
9288
4964
0768
5679
9667
8156
0161
4576
7312
2924
3717
7174
8771
5272
8252
1288
4689
0461
1021
411
7227
6041
8054
6117
6432
5333
5738
5738
Shortest path length is 122
The graph is not a DAG
The total weight of MST is 203

JOJ Answer

Shortest path length is 111
The graph is not a DAG
The total weight of MST is 113