GUESSING  Number Guessing Game
Please login first to view this problem. :)
hide comments
jeets:
20200801 14:06:36
AC in one guess !!


coolboy7:
20200725 19:33:41
did you all do this question without writing any code


maahir2:
20200612 10:15:09
Last edit: 20200612 10:15:16 

abc_scc:
20200430 06:17:15
n**2 brute force


harry_shit:
20191114 07:03:14
spoj is cool


prateekpandey:
20190930 16:36:08
have some fun ...... 

roni_roy18:
20190603 08:00:58
Good Fun:) 

riyadhrazzaq:
20181002 17:49:41
I guessed the number using brute force. Can someone explain why this is tagged "binarysearch" ? How do I solve it using binary search ? 

jyotiradityafc:
20180828 19:40:23
Suppose the answer is 121565. In this case, the display will be "6A4B" as all positions are correct hence "6A" and as you can see 1st '1' for 3rd place is wrong, 3rd '1' for 1st place is wrong. Similarly, 4th '5' for 6th place is wrong, 6th '5' for 4th place is wrong but numbers are correct hence "4B".


slinky:
20180701 20:36:48
0..5 = {0,1,2,3,4,5} = indices of the digits of the guessed and correct number. For example guess[2] is the 3rd digit of guessed number. 
Added by:  Bin Jin 
Date:  20080526 
Time limit:  0.100s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  TEXT 
Resource:  the (first?) "interactive" problem on SPOJ 