[백준] 12789번 도키도키 간식드리미 (= dokidoki snack helper) - 재우스 프로그래밍 (C 언어)
문제 링크 :www.acmicpc.net/problem/12789 #include #include #include #define DEBUG 1 #define MAX_CONTAINER_SIZE 1001 typedef struct _stack { int mem[MAX_CONTAINER_SIZE]; int top; } stack; typedef struct _queue { int mem[MAX_CONTAINER_SIZE]; int front; int back; } queue; void sortingLine(int, bool *, stack *, queue *); void initStack(stack *); bool emptySt(stack *); void popSt(stack *); void pushSt(st..
2021. 2. 21. 11:44