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: $167500 Total Amount of Money Transferred: $8687578 Number of Completed Trades: 6541 Number of Shares Traded: 171671 Time travelers would buy E_0 at time: 3954 and sell it at time: 7876 Time travelers would buy E_1 at time: 39 and sell it at time: 2671 Time travelers would buy E_2 at time: 4627 and sell it at time: 4730 Time travelers would buy E_3 at time: 502 and sell it at time: 805 Time travelers would buy E_4 at time: 276 and sell it at time: 403 Time travelers would buy E_5 at time: 5866 and sell it at time: 6239 Time travelers would buy E_6 at time: 5933 and sell it at time: 8814 Time travelers would buy E_7 at time: 3180 and sell it at time: 4395 Time travelers would buy E_8 at time: 4062 and sell it at time: 5573 Time travelers would buy E_9 at time: 3803 and sell it at time: 5519 Time travelers would buy E_10 at time: 4861 and sell it at time: 6274 Time travelers would buy E_11 at time: 1683 and sell it at time: 3496 Time travelers would buy E_12 at time: 3120 a