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: $17819634 Total Amount of Money Transferred: $925274722 Number of Completed Trades: 711876 Number of Shares Traded: 18310451 Time travelers would buy E_0 at time: 141294 and sell it at time: 141592 Time travelers would buy E_1 at time: 9570 and sell it at time: 55897 Time travelers would buy E_2 at time: 43334 and sell it at time: 74501 Time travelers would buy E_3 at time: 110192 and sell it at time: 125803 Time travelers would buy E_4 at time: 27924 and sell it at time: 46281 Time travelers would buy E_5 at time: 56592 and sell it at time: 146181 Time travelers would buy E_6 at time: 4826 and sell it at time: 148949 Time travelers would buy E_7 at time: 11603 and sell it at time: 35069 Time travelers would buy E_8 at time: 14908 and sell it at time: 23771 Time travelers would buy E_9 at time: 11918 and sell it at time: 41688 Time travelers would buy E_10 at time: 35276 and sell it at time: 71794 Time travelers would buy E_11 at time: 27924 and sell it at time: 31746 Tim