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: $81986 Total Amount of Money Transferred: $4249465 Number of Completed Trades: 3071 Number of Shares Traded: 81321 C_0 bought 1808 and sold 1059 for a net transfer of $-35641 C_1 bought 1603 and sold 1462 for a net transfer of $-11598 C_10 bought 1954 and sold 2143 for a net transfer of $-4175 C_11 bought 1854 and sold 2041 for a net transfer of $20606 C_12 bought 1691 and sold 1511 for a net transfer of $5300 C_13 bought 1375 and sold 1973 for a net transfer of $41901 C_14 bought 2075 and sold 1964 for a net transfer of $-353 C_15 bought 1314 and sold 1235 for a net transfer of $2992 C_16 bought 1743 and sold 1732 for a net transfer of $4932 C_17 bought 1488 and sold 1376 for a net transfer of $-18715 C_18 bought 1613 and sold 1597 for a net transfer of $-6595 C_19 bought 1684 and sold 1700 for a net transfer of $-5069 C_2 bought 1483 and sold 1357 for a net transfer of $5703 C_20 bought 1292 and sold 2360 for a net transfer of $33871 C_21 bought 2013 and sold 1481 for a