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: $81986 Total Amount of Money Transferred: $4249465 Number of Completed Trades: 3071 Number of Shares Traded: 81321 Time travelers would buy E_0 at time: 634 and sell it at time: 2205 Time travelers would buy E_1 at time: 1721 and sell it at time: 3960 Time travelers would buy E_2 at time: 2474 and sell it at time: 2533 Time travelers would buy E_3 at time: 2958 and sell it at time: 3223 Time travelers would buy E_4 at time: 514 and sell it at time: 1966 Time travelers would buy E_5 at time: 219 and sell it at time: 687 Time travelers would buy E_6 at time: 1939 and sell it at time: 2605 Time travelers would buy E_7 at time: 175 and sell it at time: 1981 Time travelers would buy E_8 at time: 631 and sell it at time: 2921 Time travelers would buy E_9 at time: 2127 and sell it at time: 2602 Time travelers would buy E_10 at time: 4839 and sell it at time: 5083 Time travelers would buy E_11 at time: 2386 and sell it at time: 3103 Time travelers would buy E_12 at time: 1620 and