This image specifies the problem
So far all I could come up with is:
for task in n: for i in range(d): servers.append(random_server) if d > 1: index = min(servers) servers[index].taskCount++ n--
Aucun commentaire:
Enregistrer un commentaire