/ 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_1 purchased 18 shares of E_5 from C_2 for $79/share
C_3 purchased 79 shares of E_2 from C_3 for $55/share
C_8 purchased 55 shares of E_1 from C_8 for $13/share
C_8 purchased 23 shares of E_1 from C_5 for $26/share
C_8 purchased 20 shares of E_1 from C_4 for $94/share
C_3 purchased 33 shares of E_1 from C_4 for $12/share
C_8 purchased 18 shares of E_0 from C_0 for $88/share
C_2 purchased 39 shares of E_7 from C_1 for $60/share
C_5 purchased 52 shares of E_3 from C_7 for $44/share
C_3 purchased 18 shares of E_1 from C_6 for $81/share
C_7 purchased 26 shares of E_0 from C_4 for $83/share
C_8 purchased 28 shares of E_0 from C_1 for $24/share
C_0 purchased 7 shares of E_5 from C_2 for $93/share
C_1 purchased 23 shares of E_5 from C_2 for $79/share
C_6 purchased 26 shares of E_8 from C_3 for $55/share
C_7 purchased 49 shares of E_2 from C_5 for $68/share
C_7 purchased 27 shares of E_2 from C_1 for $93/share
C_6 purchased 43 shares of E_3 from C_7 for $22/share
C_6 purchased 49 shares of E_3 from C_9 for $38/share