Jump to content
BrainDen.com - Brain Teasers

Anza Power

Members
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Anza Power

  1. You want to set your computer's clock to be synchronized with the clock of a distant server. You communicate with the server by sending packets (messages) the time it takes for a packet to travel from your computer to the server is t1 which is consistent(but unknown) and the time it takes from the server to your computer is t2 also consistent and unknown, t1 isn't necessarily equal to t2. Assuming you can write any code you want on your computer and the server, can you think of a way to synchronize your clocks?
  2. *headdesk*just realized it's rectangles and not triangles... Oh well, bonus for everyone else: prove there is one triangle too...
  3. You have 50 trucks, each has a full tank of gas, a full tank can get a truck to a distance of exactly 100km and that is the maximum that it can hold at any given time. You have the ability to transfer fuel from one truck to another, what is the maximum distance you can reach?
  4. Ok, so by that logic if I go and fill out the lottery, there are 2 possibilities, either I win or I lose, so probability of me winning is 1/2... But yeah as kingofpain said, the probability is 0, you can think of it like this: the rope is 1 meter long and you pick a number between 0 and 1 and slice there, now, how many numbers are there between 0 and 1? (even if you think of the rope in a 3D space and give it a diameter the answer doesn't change)
  5. What do you mean "G,t are 0,0"? G=0 and T=0?
  6. Hi sergyegi, and welcome to the Den.
  7. ^ bonanova excellent you got it, the game isn't about the general case, you know you only have 4 coins and the second one from the left is the golden one, only thing that can change is the position of these coins... Your explanation is a bit lengthy though, all you need to do is:
  8. This was sent to me by a friend... 2 players play a game where an infinity 1-dimentional board is divided into cells numbered 0 1 2... 4 coins are placed on some cells in this board, the second coin from the left is gold: (the position of the coins in this picture is just for show) The players take turns, each player chooses one of the four coins and moves it 1 or more cells to the LEFT, you cannot surpass a coin or land on the same cell. If you move a coin beyond the leftmost cell it is taken out of the game, whichever played takes out the gold coin wins... So in the above example the player who's turn it is could either move the leftmost coin 1 cell or take it out by moving it 2 cells, or move the gold coin 1 or 2 cells, or move the third coin 1 cell, or move the fourth coin 1 2 or 3 cells... Develop a strategy for winning the game given the initial positions of the coins...
  9. phaze and bushindo are both correct, my solution was the same as bushindo's one, phaze's solution is a little harder to understand why it works but it's exactly the same as the arithmetic one just worded differently...
  10. Sorry if this has been posted before, a friend texted me this saying he needed the solution ASAP, I can proudly say I replied in a very timely manner... Again it's that psycho warden with the obsession with hats and logic coming up with a new challenge, 3 prisoners, each gets a hat, the hats can be colored red green or yellow (no one knows how many hats in total there are of each color) each prisoner can see the hats of the other two but not his... Each must write down the color of their hat on a piece of paper, if at least one of them is correct they all go free, what should they do? (btw there's the usual rule if they talk or anything they all get executed, they may agree on a strategy before but that's it)
  11. Yeah I think that is correct, here's why:
  12. I think your first sentence is wrong But you can put it another way:
  13. Interesting puzzle, I have implemented it in HTML/Javascript: http://anzapower.web...moeba/game.html It's not as easy as I expected...
  14. What does F(0,0) evaluate to? you need it for F(1,1)
  15. Try to answer this one as quickly as possible: Your friend tells you: "Each year my birthday comes in the same day of the week as my younger brother's because they're exactly 14 days apart, I was born on a Monday so that means he was born on a Monday too" Is she correct?
×
×
  • Create New...