typedef struct Obligations{ int r;//Start of interval int d;//End of interval int p;//Time slots required by the obligation }Obligation; typedef struct { int t;//Amount of timeslots int m;//Amount of borrels int* b;//Borrel lengths int n;//Amount of students Obligation** I; int* nI;//Amount of obligations per student double** socialMatrix; }Input; Input parser(); bool isFeasible(Input* in); void freeInput(Input* in);