greedy algorithm 문제, 이걸 모든 경우의 수를 계산해서 접근하는 방식으로 생각했으나, 말이 안되는 거라 생각했더니 greedy algorithm 이더라, 즉 workshop이 시작하는 시간으로 정렬(예외가 있음) workshop이 진행되는 시간이 가장 낮은 것으로 정렬(예외가 있음) workshop이 마무리 되는 시간으로 정렬.. #include using namespace std; #include //Define the structs Workshops and Available_Workshops. //Implement the functions initialize and CalculateMaxWorkshops struct Workshops{ int startTime; int endTime; ..