resumos/cursos/cs50/all-challenges/problems/runoff/runoff.c
void tabulate(void)
{
    //int count = 0;
    for (int i = 0; i < voter_count; i++)
    {
        for (int j = 0; j < candidate_count; j++)
        {
            if (!candidates[preferences[i][j]].eliminated)
            {
                //printf("XX %s", candidates[preferences[i][j]].name);
                candidates[preferences[i][j]].votes += 1;
                break;
            }
        }

    }
    return;
}
// Tabulate votes for non-eliminated candidates

Tabulate votes for non-eliminated candidates
Tabulate votes for non - eliminated candidates
void tabulate(void)
{
    for (int i = 0; i < voter_count; i++)
    {
        for (int j = 0; j < candidate_count; j++)
        {
            if (!candidates[preferences[i][j]].eliminated)
            {
                candidates[preferences[i][j]].votes += 1;
                break;
            }
        }
    }
    return;
}
void tabulate ( void ) { for ( int i = 0 ; i < voter_count ; i ++ ) { for ( int j = 0 ; j < candidate_count ; j ++ ) { if ( ! candidates [ preferences [ i ] [ j ] ] . eliminated ) { candidates [ preferences [ i ] [ j ] ] . votes += 1 ; break ; } } } return ; }
Tabulate votes for non-eliminated candidates
Tabulate votes for non - eliminated candidates
//int count = 0;
 //printf("XX %s", candidates[preferences[i][j]].name);
