Skip to content

Instantly share code, notes, and snippets.

View OvanRheenen's full-sized avatar

Oliver OvanRheenen

  • Amsterdam
View GitHub Profile
#include <cs50.h>
#include <stdio.h>
#include <string.h>
// Max number of candidates
#define MAX 9
// preferences[i][j] is number of voters who prefer i over j
int preferences[MAX][MAX];