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

Invalid graph. Exiting.
INF
4066
2196
-2380
4337
INF
364
INF
4082
INF
-3664
389
-1185
-1460
INF
1166
-925
-3816
INF
4696
-587
4236
INF
INF
INF
2622
INF
-701
-2727
INF
INF
INF
INF
INF
-3855
INF
-3732
512
3789
INF
INF
1023
-2760
-4637
INF
INF
INF
-2589
-3809
INF
-4426
-500
INF
INF
-2134
INF
353
-2444
INF
INF
4471
INF
-568
1020
INF
INF
-4492
2711
82
INF
INF
-3368
3368
-3818
INF
-3659
3859
-1741
2736
-2043
1006
INF
INF
INF
INF
INF
3446
INF
-868
INF
INF
INF
INF
INF
33
INF
-3303
INF
INF
-2912
INF
-4295
-3733
-2674
21
INF
2747
INF
3527
INF
INF
INF
INF
INF
365
INF
2860
INF
INF
-2736
INF
INF
INF
1511
-1075
-430
-2266
INF
INF
INF
1981
INF
INF
237
-4637
-3449
-2237
INF
3291
INF
-4474
2407
INF
INF
-3122
1785
4167
-2012
INF
4760
-3088
1537
INF
INF
-1099
INF
-2055
INF
793
INF
INF
272
3641
-1645
152
-3980
INF
INF
-1881
3378
INF
INF
INF
4601
INF
INF
-3302
-748
INF
4553
-2088
795
1448
-20
1691
-4047
1248
-3900
-2165
-261
-2786
INF
INF
-778
1300
INF
-208
-1251
INF
-3937
-1937
INF
INF
INF
INF
720
INF
-4142
-2351
981
INF
INF
466

JOJ Answer

Invalid graph. Exiting.