Questions tagged [lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
258 views

Pset 3 Tideman lock pairs function

Help, i'm losing my mind. I'm not sure where i'm going wrong in this function, it gives me an error on every line of check50 after sort pairs. Can anybody shed any light? Thank you in advance! J // ...
0
votes
0answers
18 views

Tideman: linking pairs to candidates

and thanks for helping. I am confused with Tideman, and would love some enlightenment: I successfully sorted pairs, and can't figure out, in order to fill the bool locked, how to link the candidates ...
0
votes
0answers
2k views

Locking pairs in the Tideman problem

I've been going through the CS50x course. It was doable so far but now I'm just stuck on the Tideman problem from p-set 3. Tideman is a voting method that picks the Condorcet winner of an election, i....