jurgiel's blog

By jurgiel, history, 5 years ago, In English
  • Vote: I like it
  • -5
  • Vote: I do not like it

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

As I understand the problem you need to compare the scores to the score of the kth max score, not to k itself. And you should count only scores > 0.

Or with other words, how man of the first k in result list have score bigger than zero.