Number Game

Level pending

I played a number game once with my game. You need to guess the number and you only have 4 tries. I will say if how many digits are correct and how many digits are on the right position. Your first try was 4215, and there were 2 digits correct, and 1 digit is correct on the right place. Your second try was 2365, and there were also 2 digits correct, and 1 digit is correct on the right place. Your third try is 5525, and none of the digits were correct. What is the correct number if the thousands digit is 6?


The answer is 6314.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Jehan Otani
Apr 28, 2014

Your 3rd gues was 5525. None of the digits were correct, so that excludes 2and 5 from the correct number.

Your first guess was 4215. Without 2 and 5, that makes it 4x1x. We know that 2 digits are correct and one of the digits are in the right place.

your second guessnis 2365. Without 2 and 5, that makes it x36x. Again, both digits are correct but only one is in the right place.

No number(s) is repeated as we have four distinct integers.

Then, it is said that 6 is in the thousands digit. So, in your second guess, it means that 6 is in the wrong place which makes 3 correct.

in your first guess, since 6 is already in the thousands place, it means that 4 is in the wrong place and 1 is correctly place.

rearranging the digits, we now have 6314. :)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...