#ifndef PLANNER #define PLANNER #include typedef struct Subject { char *name; time_t created; time_t deadline; int priority; unsigned long long spare; } Subject; typedef struct Event { Subject subject; time_t plannedStartTime; time_t plannedEndTime; unsigned long long spare; } Event; int genPlan(Subject *head); #endif // !PLANNER