PE0765
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
- neverforget
- Posts: 88
- Joined: Sat Sep 16, 2006 10:10 pm
Re: PE0765
Nowhere is it mentioned the wager must be a fixed proportion. You can pick a different wager before each round, and the amount you pick can depend on the previous rounds' outcomes.

- neverforget
- Posts: 88
- Joined: Sat Sep 16, 2006 10:10 pm
-
abcwuhang
- Posts: 10
- Joined: Mon Nov 28, 2016 5:14 pm
Re: PE0765
Say I have x gram of gold and I bet b gram (0<=b<=x). If just considering one round, is it correct that I end up with x+2b gram if I win, and end up with x-b if I lose?

If you'd like to friend me, shoot me a message and I'll give you my friend key
-
philiplu
- Posts: 92
- Joined: Wed Aug 02, 2017 8:51 pm
- Location: Redmond, WA, USA
Re: PE0765
Yeah, the "double your bet" in the problem statement seems ambiguous. I'm not sure if that means winning a bet of b grams means you end up with x+b or x+2b, though I've been assuming it meant x+b.abcwuhang wrote: Sun Sep 19, 2021 4:16 pm Say I have x gram of gold and I bet b gram (0<=b<=x). If just considering one round, is it correct that I end up with x+2b gram if I win, and end up with x-b if I lose?

- neverforget
- Posts: 88
- Joined: Sat Sep 16, 2006 10:10 pm
Re: PE0765
Not quite. If you have $x$ and wager $b\leq x$ and win, you now have $x-b+2b=x+b$.abcwuhang wrote: Sun Sep 19, 2021 4:16 pm Say I have x gram of gold and I bet b gram (0<=b<=x). If just considering one round, is it correct that I end up with x+2b gram if I win, and end up with x-b if I lose?

-
pjt33
- Posts: 140
- Joined: Mon Oct 06, 2008 6:14 pm
Re: PE0765
Do you have any evidence to back up this assertion? Because I would note that in the "part I" of this problem (#267) an explicit example is given where you have 1 GBP, bet 0.25 GBP, win, and end up with 1.5 GBP.neverforget wrote: Sun Sep 19, 2021 8:08 pmNot quite. If you have $x$ and wager $b\leq x$ and win, you now have $x-b+2b=x+b$.abcwuhang wrote: Sun Sep 19, 2021 4:16 pm Say I have x gram of gold and I bet b gram (0<=b<=x). If just considering one round, is it correct that I end up with x+2b gram if I win, and end up with x-b if I lose?
- neverforget
- Posts: 88
- Joined: Sat Sep 16, 2006 10:10 pm
Re: PE0765
I suppose the evidence is that accepted solution uses the standard "double or nothing" interpretation, instead of the one in problem 267.pjt33 wrote: Mon Sep 20, 2021 9:18 amDo you have any evidence to back up this assertion? Because I would note that in the "part I" of this problem (#267) an explicit example is given where you have 1 GBP, bet 0.25 GBP, win, and end up with 1.5 GBP.neverforget wrote: Sun Sep 19, 2021 8:08 pmNot quite. If you have $x$ and wager $b\leq x$ and win, you now have $x-b+2b=x+b$.abcwuhang wrote: Sun Sep 19, 2021 4:16 pm Say I have x gram of gold and I bet b gram (0<=b<=x). If just considering one round, is it correct that I end up with x+2b gram if I win, and end up with x-b if I lose?

-
philiplu
- Posts: 92
- Joined: Wed Aug 02, 2017 8:51 pm
- Location: Redmond, WA, USA
Re: PE0765
Nice find for the language in Problem 267 (View Problem), @pjt33. I'd agree that and Problem 765 (View Problem) clearly have contradictory meanings for "double your bet". As @neverforget says, the interpretation in this new problem must be $x+b$, not $x+2b$, because assuming that let me get the checkmark 
Admins, might be nice to clarify the wording in this problem.
Admins, might be nice to clarify the wording in this problem.

-
urimend
- Administrator
- Posts: 2669
- Joined: Fri Jul 06, 2018 6:34 pm
Re: PE0765
Problem 765 (View Problem) has been modified to clarify the meaning of "double your bet".
Thanks for your observation and feedback.
Thanks for your observation and feedback.
- neverforget
- Posts: 88
- Joined: Sat Sep 16, 2006 10:10 pm
Re: PE0765
Thanks urimend, it is much clearer now!urimend wrote: Fri Sep 24, 2021 5:04 am Problem 765 (View Problem) has been modified to clarify the meaning of "double your bet".
Thanks for your observation and feedback.
