Igor.Ivanich's blog

By Igor.Ivanich, 14 years ago, In English

Hi everyone,

The problem which I've been stuck on is: http://cs.stanford.edu/group/acm/slpclive/problems/G.pdf

Can someone please give me some hints / idea how to solve this problem?

Cheers

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

»
14 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

http://www.catonmat.net/blog/mit-introduction-to-algorithms-part-twelve/.

The trick for problem G is replacing the bi variables with their negatives so sum constraints become difference constraints.