I am looking at the sample input and output given for this problem and am confused about the last entry.
The input is: PdM234AA
and the output: ... (chance of winning <= 0.25)
As far as I can see, there are two ways to get a winning combination.
1. Pick up the D, to get PDdM
2. Pick up an A, to ...
Search found 3 matches
- Wed Dec 03, 2014 2:56 pm
- Forum: Volume 128 (12800-12899)
- Topic: 12806 - Grand Tichu!
- Replies: 1
- Views: 1976
- Sat Nov 22, 2014 5:13 pm
- Forum: Volume 128 (12800-12899)
- Topic: 12803 - Arithmetic Expressions
- Replies: 7
- Views: 3052
Re: 12803 - Arithmetic Expressions
Thanks. That fixes it. It is a bit of a pity if the wrong answer is accepted and the right one is not. It would have been better if they had asked for three decimal digits and allow us to be 0.001 off.
- Fri Nov 21, 2014 4:30 am
- Forum: Volume 128 (12800-12899)
- Topic: 12803 - Arithmetic Expressions
- Replies: 7
- Views: 3052
Re: 12803 - Arithmetic Expressions
It seems to me that I solved this problem but the judge does not agree (WA).
I see that my solution is different from uDebug, but I cannot see why uDebug would be right.
My input is:
1
( 0.41 / 2.00 )
For which my answer is 0.21 and uDebug says 0.20. The PDF brief says that 0.005 must be ...
I see that my solution is different from uDebug, but I cannot see why uDebug would be right.
My input is:
1
( 0.41 / 2.00 )
For which my answer is 0.21 and uDebug says 0.20. The PDF brief says that 0.005 must be ...