Is there O(n^2) solution? I use O(n^3/16)+O(n*m) with very very small constant and got accepted...561ms
http://codeforces.com/gym/100927 problem B
Is there O(n^2) solution? I use O(n^3/16)+O(n*m) with very very small constant and got accepted...561ms
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en1 | Los_Angelos_Laycurse | 2016-03-14 06:01:07 | 152 | Initial revision (published) |