/ 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_311 purchased 47 shares of E_152 from C_530 for $47/share
C_1325 purchased 42 shares of E_46 from C_680 for $53/share
C_65 purchased 36 shares of E_12 from C_391 for $17/share
C_1638 purchased 2 shares of E_51 from C_247 for $1/share
C_1281 purchased 18 shares of E_123 from C_923 for $48/share
C_434 purchased 74 shares of E_171 from C_462 for $45/share
C_422 purchased 49 shares of E_142 from C_17 for $15/share
C_408 purchased 31 shares of E_11 from C_1185 for $4/share
C_1254 purchased 19 shares of E_85 from C_1792 for $27/share
C_63 purchased 3 shares of E_15 from C_281 for $69/share
C_987 purchased 2 shares of E_96 from C_765 for $1/share
C_859 purchased 16 shares of E_141 from C_19 for $41/share
C_859 purchased 27 shares of E_141 from C_452 for $76/share
C_1639 purchased 34 shares of E_69 from C_504 for $6/share
C_1017 purchased 12 shares of E_162 from C_676 for $88/share
C_769 purchased 21 shares of E_38 from C_1215 for $70/share
C_494 purchased 1 shares of E_161 from C_526 for $76/share
C_263 purchased