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
1513
1392
0534
3891
4743
4012
3796
0969
9193
2728
5973
2124
8268
1987
6549
0875
1720
9267
3055
2822
434
6454
3674
1089
5112
1235
6021
2699
9062
297
5677
4628
7014
1853
0774
5015
8138
9461
8013
4589
5247
4936
2376
5317
5826
6237
3197
9741
742
416
416
Shortest path length is 69
The graph is not a DAG
The total weight of MST is 227

JOJ Answer

Shortest path length is 69
The graph is not a DAG
The total weight of MST is 99