Блог пользователя wtiger9999

Автор wtiger9999, 12 лет назад, По-английски
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) @@.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится