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: $15712 Total Amount of Money Transferred: $813136 Number of Completed Trades: 568 Number of Shares Traded: 15305 Time travelers would buy E_0 at time: 273 and sell it at time: 667 Time travelers would buy E_1 at time: 1064 and sell it at time: 1071 Time travelers would buy E_2 at time: 318 and sell it at time: 656 Time travelers would buy E_3 at time: 635 and sell it at time: 1011 Time travelers would buy E_4 at time: 192 and sell it at time: 598 Time travelers would buy E_5 at time: 197 and sell it at time: 875 Time travelers would buy E_6 at time: 443 and sell it at time: 972 Time travelers would buy E_7 at time: 271 and sell it at time: 405 Time travelers would buy E_8 at time: 560 and sell it at time: 1026 Time travelers would buy E_9 at time: 46 and sell it at time: 855