Strategic HDU 1054 Strategic Game(트리 DP) #include <stdio.h> #define MAX_NODES 1500 #define MIN(x, y) ( (x) < (y) ? (x) : (y) ) int numOfNodes; int root; int numOfRoads; typedef struct Road{ int to; int next; }Road; Road RoadArray[MAX_NODES * MAX_NODES + 1]; int... dpgameHDU나무모양1054Strategic
HDU 1054 Strategic Game(트리 DP) #include <stdio.h> #define MAX_NODES 1500 #define MIN(x, y) ( (x) < (y) ? (x) : (y) ) int numOfNodes; int root; int numOfRoads; typedef struct Road{ int to; int next; }Road; Road RoadArray[MAX_NODES * MAX_NODES + 1]; int... dpgameHDU나무모양1054Strategic