New answers tagged check
0
votes
Plurality error :( vote produces correct counts when all votes are zero
What I find a little bit bizarre is that I was facing similar issues when running check50 and could only fix it using
bool vote(string name)
{
// TODO
for (int i = 0; i < candidate_count; i++)
{
...
Top 50 recent answers are included
Related Tags
check × 191pset5 × 121
speller × 76
load × 57
trie × 23
pset6 × 14
segmentation-fault × 14
dictionary × 14
check50 × 13
finance × 13
pset8 × 9
pset1 × 6
cs50x × 6
pset4 × 5
error × 5
valgrind × 5
pset3 × 4
recover × 4
c × 4
unload × 4
mario × 3
hash-table × 3
fails-check50-but-works × 3
memory-leak × 3
loop × 3