/ Test /

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

The graph is a DAG
No MST exists!

JOJ Answer

C_681 purchased 18 shares of E_98 from C_378 for $85/share
C_165 purchased 7 shares of E_37 from C_266 for $70/share
C_518 purchased 74 shares of E_87 from C_449 for $80/share
C_903 purchased 24 shares of E_88 from C_841 for $99/share
C_590 purchased 68 shares of E_2 from C_509 for $71/share
C_526 purchased 71 shares of E_12 from C_541 for $58/share
C_165 purchased 85 shares of E_37 from C_974 for $99/share
C_176 purchased 18 shares of E_62 from C_675 for $45/share
C_223 purchased 2 shares of E_46 from C_908 for $76/share
C_49 purchased 19 shares of E_23 from C_632 for $79/share
C_606 purchased 2 shares of E_42 from C_648 for $75/share
C_450 purchased 23 shares of E_91 from C_70 for $86/share
C_590 purchased 15 shares of E_2 from C_64 for $71/share
C_174 purchased 3 shares of E_11 from C_256 for $19/share
C_976 purchased 16 shares of E_97 from C_59 for $94/share
C_828 purchased 51 shares of E_80 from C_456 for $77/share
C_545 purchased 13 shares of E_2 from C_64 for $8/share
C_808 purchased 9 shares of E_48 f