Zoya has developed a new game called Zombie World. The objective of the game is to kill all zombies in given amount of time. More formally,
· N represents the total number of zombies in the current level
· T represents the maximum time allowed for the current level
· P represents the initial energy level a player starts with
· Ei defines the energy of the i-th zombie
· D defines the minimum energy the player needs, to advance to the next level
In order to defeat a zombie, player energy must be at least equal to the i-th zombie's energy. If the player succeeded in defeating the zombie, then he will be awarded with an additional energy equal to the difference between current zombie energy and the player energy.
One unit of time will be taken to complete the fight with a single zombie.
Rules of the game:-
· At any given time, a player can fight with only one zombie
· Player is allowed to choose any one zombie to fight with.
The moment you’ve entered the education system is the moment you start to realize that, although studying is extremely important,…
APPROVED BY CLIENTS
Hello, I wanted to say Thank You for allowing me more time for work, family and all else going on during these crazy times. I do appreciate the time and effort you have put into assisting me. My last order was written almost perfectly, however, it reflected a different county than the one I live in....I was able to tweak it and it was just fine. I know I should be more explicit with my instructions. Thank you so much for the great work and always coming through for me;)