tamirOK's blog

By tamirOK, history, 8 years ago, In English

In a shop, people can take chewing gum from a dispenser on the right, or the left. The dispenser on the right has 7 packets of mint gum, and 3 packets of fruit gum, and the dispenser on the left has 7 packets of mint gum and 7 packets of fruit gum. What is probability of taking packet of mint gum?

My solution: 1/2 * 7/10 + 1/2 * 7/14 = 12/20, but correct answer is 14/24. Can you explain me why?

Full text and comments »

  • Vote: I like it
  • -9
  • Vote: I do not like it

By tamirOK, history, 9 years ago, In English

Hello! Can you help me in solving this problem. I am getting WA there. Here is my code. Thanks!

Full text and comments »

Tags uva
  • Vote: I like it
  • 0
  • Vote: I do not like it