3a51's blog

By 3a51, history, 11 months ago, In English

This problem need to calculate the Eulerian Path.

I used vector to store the graph as usual, but I got TLE on 21. 322076342

After I changed to chain forward star, It passed. 322077896

Does anybody know the reason? I think both methods are $$$O(n\log n)$$$.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it