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: $868934 Total Amount of Money Transferred: $45091917 Number of Completed Trades: 34167 Number of Shares Traded: 887162 C_0 bought 995 and sold 1335 for a net transfer of $22243 C_1 bought 1944 and sold 1948 for a net transfer of $10476 C_10 bought 2089 and sold 1911 for a net transfer of $-348 C_100 bought 2282 and sold 1486 for a net transfer of $-36948 C_101 bought 1442 and sold 1196 for a net transfer of $-19698 C_102 bought 1360 and sold 1695 for a net transfer of $23973 C_103 bought 1490 and sold 1372 for a net transfer of $-615 C_104 bought 1718 and sold 1964 for a net transfer of $20008 C_105 bought 1793 and sold 1712 for a net transfer of $-2389 C_106 bought 1544 and sold 1908 for a net transfer of $31670 C_107 bought 1708 and sold 1623 for a net transfer of $9767 C_108 bought 2339 and sold 2125 for a net transfer of $-19378 C_109 bought 1854 and sold 1532 for a net transfer of $-13140 C_11 bought 1657 and sold 2098 for a net transfer of $21767 C_110 bought 1445 a