Could someone help me with it because i have no idea how to solve it unless i hard code it?I am writing the program in c++.
Try to cut the grid in half with each guess. You can google 'binary search' for some examples of how this is accomplished.
first of all i cant understand what to do and how to do... pls help how to start this puzzle...i am beginner
guys i wanna run a virtual loop (doesn t make an output) in the end of it i shall have the Y and X of the bomb .BUT I DON T KNOW WHAT IS THE INPUT VALUE OF "bombDir" when batman get to it ???
Hello everyone, could someone help me understand how to apply the binary search even though I know the directions and not the target value?