wtiger9999's blog

By wtiger9999, 13 years ago, In English
https://www.spoj.pl/problems/DAGCNT2


Please anyone give me some hint about the proper algorithm to solve it. My solution run in O(n^2) (and got TLE) @@.

Full text and comments »

  • Vote: I like it
  • +11
  • Vote: I do not like it