For the first case, I get the following numbers of representatives (basically taken from the problem statement):
Code: Select all
State H J A W
----- -- -- -- --
Anxit 2 2 2 2
Bored 8 9 8 8
Confu 11 11 10 11
Dismy 6 5 6 6
Ecsta 3 3 4 3
Code: Select all
Data set 1:
For 30 representatives:
Anxit is favored by no method.
Bored is favored by Jefferson.
Confu is favored by Hamilton and Jefferson and Webster.
Dismy is favored by Hamilton and Adams and Webster.
Ecsta is favored by Adams.
I have some questions to the four people who got accepted: What is the trick to this problem? What is your answer to this test case? Does this problem even have a correct dataset?
I submitted a program which seems to be correct according to my interpretation (which fails the sample) but it gets Wrong Answer.