subject

You are playing a video game under the following idealized conditions. the computer memory is unbounded and you have no time limit for finishing the game. the game board is the set of points in the plane with integer coordinates and time moves in discrete integer steps. there is a hidden submarine: you do not not know its location, you do not know its speed and you do not know its direction of motion. the speed and direction of motion do not change throughout the game. the speed is a natural number and the direction of motion is either up, down, left or right. for example, the submarine could start at (1,3) have speed 6 and move right. then at step 0 it is at (1, 3), at step 1 it is at (7, 3), at step 2 it is at (13, 3) and so on. at every step you get to zap a point: you enter the coordinates and if the submarine is at that point, at that time step, you will destroy it. of course, there is no point zapping a position before it gets there or after it leaves. give a strategy or scheme that is guaranteed to get the submarine at some nite stage. important : you do not know where it started, you do not not know its direction and you do not know its speed; you only know that the speed and direction do not change.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 12:00
How can we take picture in this app
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
This isn't about school but every time it tells me to watch an ad to unlock the answer to a question it prompts a survey and it just keeps loading. so i haven't been able to get answers for my tests in like a week.
Answers: 2
question
Computers and Technology, 24.06.2019 17:00
Anew author is in the process of negotiating a contract for a new romance novel. the publisher is offering three options. in the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. in the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. in the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. the author has some idea about the number of copies that will be sold and would like to have an estimate of the royal- ties generated under each option. write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. the program then outputs he royalties under each option and the best option the author could choose. (use appropriate named constants to store the special values such as royalty rates and fixed royalties.
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
Ashort circuit locator should be periodically run along the cords used in a shop to check for shorts and open circuits. a.)true b.)false
Answers: 2
You know the right answer?
You are playing a video game under the following idealized conditions. the computer memory is unboun...
Questions
question
Mathematics, 28.07.2020 21:01
question
Mathematics, 28.07.2020 21:01
question
Mathematics, 28.07.2020 21:01
question
Mathematics, 28.07.2020 21:01
question
History, 28.07.2020 21:01
question
Mathematics, 28.07.2020 21:01
question
Mathematics, 28.07.2020 21:01