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: $8896460 Total Amount of Money Transferred: $461926614 Number of Completed Trades: 354507 Number of Shares Traded: 9137046 Time travelers would buy E_0 at time: 42158 and sell it at time: 46924 Time travelers would buy E_1 at time: 9077 and sell it at time: 60001 Time travelers would buy E_2 at time: 27422 and sell it at time: 171196 Time travelers would buy E_3 at time: 1834 and sell it at time: 2637 Time travelers would buy E_4 at time: 29627 and sell it at time: 147620 Time travelers would buy E_5 at time: 26105 and sell it at time: 37687 Time travelers would buy E_6 at time: 775 and sell it at time: 65379 Time travelers would buy E_7 at time: 9830 and sell it at time: 18698 Time travelers would buy E_8 at time: 12683 and sell it at time: 28145 Time travelers would buy E_9 at time: 10951 and sell it at time: 12156 Time travelers would buy E_10 at time: 103239 and sell it at time: 119905 Time travelers would buy E_11 at time: 36319 and sell it at time: 56656 Time travel