Problem 093
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.
Problem 093
Hello. I've suppose it's easy problem, and i solve it, but my algorithm seems wrong:
it can't found equation for {1,2,3,4} set where answer is 22. Can anyone post those equation?
(Problem statement says it exists).
it can't found equation for {1,2,3,4} set where answer is 22. Can anyone post those equation?
(Problem statement says it exists).
Re: Problem 93 hint
2*(3*41) = 22

 Posts: 100
 Joined: Sat Aug 29, 2009 8:49 pm
Re: Problem 093
Well, I do get 28 for the example (digits 1, 2, 3, 4). But I also get the wrong overall answer.
Could someone please post another digit combination and its count, so that I can try to figure out where I'm going wrong? Thanks.
Could someone please post another digit combination and its count, so that I can try to figure out where I'm going wrong? Thanks.

 Posts: 100
 Joined: Sat Aug 29, 2009 8:49 pm
Re: Problem 093
Does this count:
(6 / 9) * 3 = 2
I wouldn't find that, because I reject 6/9 as not an integer. (Yes, I know I could have rewritten this as (3 * 6) / 9. Maybe it doesn't matter.)
(6 / 9) * 3 = 2
I wouldn't find that, because I reject 6/9 as not an integer. (Yes, I know I could have rewritten this as (3 * 6) / 9. Maybe it doesn't matter.)
 daniel.is.fischer
 Posts: 2400
 Joined: Sun Sep 02, 2007 11:15 pm
 Location: Bremen, Germany
Re: Problem 093
Yes, it does count. Intermediate results need not be integers, only the final result must be an integer.
Il faut respecter la montagne  c'est pourquoi les gypaètes sont là.

 Posts: 100
 Joined: Sat Aug 29, 2009 8:49 pm
Re: Problem 093
Okay, thanks. Could you please also post another combination and its count?
Re: Problem 093
Yeah: 2679 gives 21 consecutive numbers, and 2389 gives 33.
Problem 93
I have been struggling with problem 93 and think I have solution but my submitted solution is not correct. My method correctly finds that the digit set {1,2,3,4} yields a run of consecutive numbers 1 .. 28. Could anyone confirm the result for the set {4,5,7,8} is a sequence of 26 consecutive numbers. I hope this note is not a spoiler.
Re: Problem 93
Hi,
my probabilistic algo gives me: consecutives for [4, 5, 7, 8].
It may not be exactly that but if it's not it should be pretty close.
my probabilistic algo gives me:
Expand
It may not be exactly that but if it's not it should be pretty close.
Re: Problem 93
Problem 93 (View Problem)
I also get 17 for {4,5,7,8}. What solution does your program give for {4,5,7,8} > 18 ?
I also get 17 for {4,5,7,8}. What solution does your program give for {4,5,7,8} > 18 ?
Re: Problem 093
Thanks for the feedback. I have now located my problem (integer arithmetic) and have successfully completed the problem.

 Posts: 2
 Joined: Sat Aug 07, 2010 4:26 pm
 Location: Rome, Italy
Re: Problem 093
Hi, could someone post the equation resulting in 15 for [2,6,7,9]? My algorithm doesn't find it and I can't figure out why.
Thanks!
Thanks!
Re: Problem 093
( 7  ( 9 / 2 ) ) * 6
Re: Problem 093
Would the following also be acceptable to you?
(96)*(72)
(96)*(72)
When you assume something, you risk being wrong half the time.

 Posts: 2
 Joined: Sat Aug 07, 2010 4:26 pm
 Location: Rome, Italy
Re: Problem 093
Thanks for your help, I've found my mistake and solved the problem.
Re: Problem 093
My final solution was correct and I got the same value for 2679 but not for 2389 How do you evaluate 15 with [2,3,8,9]?zwuupeape wrote:Yeah: 2679 gives 21 consecutive numbers, and 2389 gives 33.
Re: Problem 093
Thanks. I got lucky, my program was skipping a few combinations. I fixed the problem though.