Questions tagged [pairs]
The pairs tag has no usage guidance.
3 questions
1
vote
1
answer
466
views
Pset3 Tideman: add_pairs function
Here is my code for the add_pairs() function. I have tested it with the debugger and it seems to work fine. However, check50 tells me that it's not generating correct pair count.
'''
void add_pairs(...
1
vote
0
answers
141
views
CS50 Tideman lock_pairs function
I am now in tideman and every function seems to work fine but I've been stuck on lock_pairs. I have come up with this solution and when I try to simulate an election it seems to run fine and produces ...
0
votes
1
answer
494
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
// ...