Problem 185
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.
-
axelbrz
- Posts: 51
- Joined: Mon Sep 08, 2008 5:34 am
Problem 185
Hi,
Can it be solved in less than a minute?
And do I have to use random function to solve it?
Thanks!
Can it be solved in less than a minute?
And do I have to use random function to solve it?
Thanks!
"think(O(n))+O(n) sometimes is better than think(O(1))+O(1)"


- ed_r
- Posts: 1009
- Joined: Sun Jul 29, 2007 10:57 am
Re: Problem 185
You've been around long enough, axelbrz, to know not to expect an answer to that sort of question! 
!647 = &8FDF4C
-
LarryC
Re: Problem 185
It can be solved in less than a minute as almost every problem can. But that's a given. 
-
axelbrz
- Posts: 51
- Joined: Mon Sep 08, 2008 5:34 am
Re: Problem 185
okss! lol
I'll try to solve it!
Thanks!
Thanks!
"think(O(n))+O(n) sometimes is better than think(O(1))+O(1)"


-
LarryBlake
- Posts: 100
- Joined: Sat Aug 29, 2009 8:49 pm
Re: Problem 185
In the example for the 5 digit problem, the guesses hit all 5 of the digits. Can we assume the same for the 16 digit problem?

- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 185
When you assume something, you risk being wrong half the time.
So, try and find out.
So, try and find out.

War ruins the life and health of untold numbers of innocent children.
-
quilan
- Posts: 182
- Joined: Fri Aug 03, 2007 11:08 pm
Re: Problem 185
I don't recall exactly, been a while, but I do remember it was deterministic... i.e. only one answer.LarryBlake wrote:In the example for the 5 digit problem, the guesses hit all 5 of the digits. Can we assume the same for the 16 digit problem?
ex ~100%'er... until the gf came along.


-
LarryBlake
- Posts: 100
- Joined: Sat Aug 29, 2009 8:49 pm
- stijn263
- Posts: 1505
- Joined: Sat Sep 15, 2007 11:57 pm
- Location: Netherlands
Re: Problem 185
Problem 185 (View Problem) reads:quilan wrote:I don't recall exactly, been a while, but I do remember it was deterministic... i.e. only one answer.
Find the unique 16-digit secret sequence
-
LarryBlake
- Posts: 100
- Joined: Sat Aug 29, 2009 8:49 pm
Re: Problem 185
Thanks. I understood that there was only one right answer. My question was, are all 16 of the digits mentioned in the guesses, or do I need to consider every digit as a possibility in each position (except where I can logically exclude them)?

- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 185
I understood your question perfectly.
That's what you have to find out.
That's what you have to find out.

War ruins the life and health of untold numbers of innocent children.
-
LarryBlake
- Posts: 100
- Joined: Sat Aug 29, 2009 8:49 pm
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 185
Yes, into 7×7×(7×7-7-7/7)+7log(7)

War ruins the life and health of untold numbers of innocent children.
-
Georges
- Posts: 2
- Joined: Tue Mar 11, 2008 9:30 pm
-
zwuupeape
- Posts: 189
- Joined: Tue Jun 09, 2009 6:11 pm
-
LarryBlake
- Posts: 100
- Joined: Sat Aug 29, 2009 8:49 pm
Re: Problem 185
Wow, this was hard. After many different attempts, I finally got it, and not under 1 minute either.
Really nice problem.
Really nice problem.

- Lord_Farin
- Posts: 239
- Joined: Wed Jul 01, 2009 10:43 am
- Location: Netherlands
Re: Problem 185
If I read the definition of NP-complete correctly, a problem belonging there does not mean there is no polynomial time solution... It just means that if there is one, there is a P solution for every problem in NP. The proof or disproof that NP-complete problems have no P-time solutions, however, is still unknown to man.zwuupeape wrote:No, this problem is NP-complete.

-
zwuupeape
- Posts: 189
- Joined: Tue Jun 09, 2009 6:11 pm
Re: Problem 185
The way I understand, he asks if such an algorithm is known, not if it could exist in theory. No algorithm that solves any NP-complete problem in polynomial time is known to exist. The more interesting question is, of course, if the problem belongs to that class. The answer is yes, because - at least as I read on the forum and confirmed online - the game of Mastermind is NP-complete and this one is the same except you have less information.
-
elr
- Posts: 67
- Joined: Thu Apr 09, 2009 9:47 am
- rayfil
- Administrator
- Posts: 1412
- Joined: Sun Mar 26, 2006 5:30 am
- Location: Quebec, Canada
- Contact:
Re: Problem 185
A sequence of digits is requested. Since 0's are allowed as digits, they could appear anywhere in the sequence. Consider the digits as different colors.Find the unique 16-digit secret sequence
When you assume something, you risk being wrong half the time.
