|
|
вернуться в форумhint and test I used DSU algorithm and AC 0.046. test: 10 4 5 3 6 9 10 8 7 2 1 answer: Not a proof. Re: hint and test Послано CoubeX 27 окт 2018 01:25 good test tho I used stack & queue and got AC Re: hint and test Послано Ealham 24 фев 2019 01:31 I used DSU algorithm and AC 0.046. test: 10 4 5 3 6 9 10 8 7 2 1 answer: Not a proof. Thanks for the test case... Helped a lot to find bug in my algo. I am wondering how to use DSU here... Would you please mail me your idea? ealham86@gmail.com Thanks again. Re: hint and test The hint was great. Stack + queue can get you AC in 0.031 |
|
|