__builtin__wolfy's blog

By __builtin__wolfy, 9 years ago, In English

Hello all,

I'm trying to solve this problem.

The correct output for the following test case (according to IO files) is "Unfair" but I can't figure out why. Could someone help?

Test case:

5
0 0
1 0
2 1
3 0
3 -1
  • Vote: I like it
  • +1
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +2 Vote: I do not like it

In the definition of unfair path, take t1 = (1.5, 0.5), t2 = (2, 1), t3 = (3,  - 1).