/ 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_10 purchased 68 shares of E_0 from C_16 for $94/share
C_16 purchased 35 shares of E_9 from C_5 for $92/share
C_5 purchased 50 shares of E_2 from C_13 for $41/share
C_10 purchased 5 shares of E_0 from C_17 for $97/share
C_19 purchased 7 shares of E_0 from C_17 for $84/share
C_19 purchased 29 shares of E_0 from C_18 for $84/share
C_19 purchased 51 shares of E_8 from C_18 for $35/share
C_13 purchased 40 shares of E_4 from C_2 for $91/share
C_9 purchased 5 shares of E_3 from C_2 for $14/share
C_15 purchased 24 shares of E_0 from C_18 for $90/share
C_13 purchased 50 shares of E_4 from C_14 for $91/share
C_0 purchased 27 shares of E_4 from C_14 for $68/share
C_19 purchased 32 shares of E_2 from C_16 for $81/share
C_2 purchased 23 shares of E_2 from C_16 for $70/share
C_19 purchased 15 shares of E_7 from C_7 for $56/share
C_12 purchased 2 shares of E_8 from C_18 for $28/share
C_12 purchased 43 shares of E_8 from C_13 for $48/share
C_3 purchased 22 shares of E_4 from C_15 for $93/share
C_10 purchased 53 shares of E