We consider a centralized distributed system organized as a tree, where the central node is the root and the remaining nodes are subtrees. This system uses tasks that require different computing resources (CPU and memory). The main goal of the system is to efficiently distribute tasks between tree nodes.