ural URAL 1008 Image Encoding (BFS) #include <stdio.h> #define SIZE 10 int n; int leftBottomX, leftBottomY; int x, y; int image[SIZE + 1][SIZE + 1]; typedef struct{ int x; int y; } PIXEL; PIXEL queue[SIZE * SIZE + 1]; int head, tail; PIXEL pixelPoped, pixe... image1008encodingbfsural URAL 1039 Anniversary Party(트리 DP) #include <stdio.h> #define MAX_EMPLOYEES 6000 #define MAX(x, y) ( (x) > (y) ? (x) : (y) ) int numOfEmployees; int convivialityRate[MAX_EMPLOYEES + 1]; typedef struct Subordinate{ int subordinate; int next; }Subordinate; ... dppartyanniversary나무모양1039ural
URAL 1008 Image Encoding (BFS) #include <stdio.h> #define SIZE 10 int n; int leftBottomX, leftBottomY; int x, y; int image[SIZE + 1][SIZE + 1]; typedef struct{ int x; int y; } PIXEL; PIXEL queue[SIZE * SIZE + 1]; int head, tail; PIXEL pixelPoped, pixe... image1008encodingbfsural URAL 1039 Anniversary Party(트리 DP) #include <stdio.h> #define MAX_EMPLOYEES 6000 #define MAX(x, y) ( (x) > (y) ? (x) : (y) ) int numOfEmployees; int convivialityRate[MAX_EMPLOYEES + 1]; typedef struct Subordinate{ int subordinate; int next; }Subordinate; ... dppartyanniversary나무모양1039ural