Notes
This function is in beta test. Please help improve it in the issues
here.
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
---End of Day--- Commission Earnings: $1713788 Total Amount of Money Transferred: $88970053 Number of Completed Trades: 68108 Number of Shares Traded: 1765933 C_0 bought 1724 and sold 2010 for a net transfer of $24866 C_1 bought 1233 and sold 1609 for a net transfer of $2271 C_10 bought 1881 and sold 1939 for a net transfer of $7412 C_100 bought 2416 and sold 1826 for a net transfer of $-22592 C_101 bought 1764 and sold 2337 for a net transfer of $38817 C_102 bought 1611 and sold 2253 for a net transfer of $28282 C_103 bought 1472 and sold 1462 for a net transfer of $-3064 C_104 bought 1895 and sold 2184 for a net transfer of $2552 C_105 bought 1425 and sold 1765 for a net transfer of $17776 C_106 bought 1329 and sold 2062 for a net transfer of $35004 C_107 bought 2207 and sold 1766 for a net transfer of $-27284 C_108 bought 1355 and sold 2079 for a net transfer of $45857 C_109 bought 1700 and sold 1993 for a net transfer of $35295 C_11 bought 1320 and sold 1906 for a net transfer of $18335 C_110 bought 1612