There is a typo in the vote-counting
medium puzzle:
the last test case is:
4
8
Albert 2
Roger 1
Thierry 1
Valérie 3
Albert Yes
Valérie Yes
Erwan No
Albert No
Thierry Yes
Valérie Yes
Valérie No
Valérie Non
Roger Maybe
Roger Maybe
is not read because the vote counters is only 8
(should be 9
)
The output doesn’t depends on Roger Maybe
anyway ¯_(ツ)_/¯, that’s probably why it was not noticed before