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: $1713788 Total Amount of Money Transferred: $88970053 Number of Completed Trades: 68108 Number of Shares Traded: 1765933 Time travelers would buy E_0 at time: 44533 and sell it at time: 52541 Time travelers would buy E_1 at time: 836 and sell it at time: 16147 Time travelers would buy E_2 at time: 52912 and sell it at time: 59107 Time travelers would buy E_3 at time: 31240 and sell it at time: 34550 Time travelers would buy E_4 at time: 37395 and sell it at time: 48825 Time travelers would buy E_5 at time: 29337 and sell it at time: 32633 Time travelers would buy E_6 at time: 17761 and sell it at time: 85269 Time travelers would buy E_7 at time: 6817 and sell it at time: 38181 Time travelers would buy E_8 at time: 7402 and sell it at time: 16102 Time travelers would buy E_9 at time: 4550 and sell it at time: 26485 Time travelers would buy E_10 at time: 13397 and sell it at time: 17496 Time travelers would buy E_11 at time: 579 and sell it at time: 4072 Time travelers woul