tema of project

1. Problem Description

Office customer wants to improve the functioning using a system of organizing the people to stop. The Office has opened more counters, each specializing on a particular issue, but can also resolve other problems. Each counter can hold more people that are sort by priority. If a man sits at a desk and has the highest priority, it is addressed first. New desks can be opened or existing ones can be closed, in which case people are redistributed equally possible. The purpose of the theme is to make a program to simulate the required system.

2. Implementation details

Every moment will be open counters N (N> = 1). Counters will be represented as a vector of length N dynamically allocated. Each stop will be assigned a double chained list representing people are waiting at the counter and which will be ordered by descending priority. If there are more people with the same priority, they will be addressed in alphabetical order. If the number of counters N changes, everyone will be arranged in a new list ordered by descending priorities or alphabetically by name, and then will be divided equally to each counter as he sees in this example. Suppose we initially open four counters (0-3), and 11 people with priorities 1 to 11, place it in the picture below

0 1 2. 3

7 10 9 11

6 5 8

4 3

2

1

Counter 0 has three people on the list, the counter 1 has 2 counter 2 has one man and counter 3 has five people in a row. If the number of counters opened changes and becomes five, then people will first sort by priority and redeployed to the new number of counters, so people with the priorities of the biggest to be the first in the list, as you can see and in the figure below:

0 1 2. 3. 4

11 10 9 8. 7

6 5 4 3 2

1

... and there will be source in which you will have few function that you need to complete for more information you can message me

Tentang Majikan:
( 5 ulasan ) kabul, Afghanistan

ID Projek: #13444853

5 pekerja bebas membida secara purata \$37 untuk pekerjaan ini

TellezMiotta

Hi! My name is Fernando Téllez. I am a senior year student of electrical engineering at Universidad Simón Bolívar (USB), one of the most prestigious universities in my country (Ranked 34° at the QS University Rankings: Lagi

\$100 USD dalam sehari
(11 Ulasan)
4.5
\$35 USD dalam sehari
(2 Ulasan)
1.7
ZaheerAhsen

Hello sir i m best programmer. As i m final year student of BSCS so i have 3 years experience in this field. i will complete your task within given timeline. thanks regards Zaheer

\$25 USD dalam sehari
(1 Ulasan)
0.5
\$26 USD dalam 6 hari
(2 Ulasan)
1.8
\$25 USD dalam sehari
(1 Ulasan)
0.0
\$20 USD dalam sehari
(0 Ulasan)
0.0
kapsid

hi your model is too easy to deploy in which language do u want it to be implemented?

\$15 USD dalam 2 hari
(0 Ulasan)
0.0
anyone86

don't you accept java as programming language?

\$25 USD dalam sehari
(1 Ulasan)
0.0